38da4b7e by 周伟奇

se bs vevify & create new field

1 parent 7dd68c93
......@@ -393,7 +393,8 @@ class BSWorkbook(Workbook):
for cell in ms[4]:
cell.fill = self.amount_fill
verify_res = False if len(metadata_highlight_row) > 0 or len(verify_highlight_row) > 0 else True
# verify_res = False if len(metadata_highlight_row) > 0 or len(verify_highlight_row) > 0 else True
verify_res = False if len(metadata_highlight_row) > 0 else True
return ms, timedelta, verify_res
@staticmethod
......
......@@ -244,7 +244,14 @@ se_compare_args = {
'content': fields.Nested(se_compare_content, required=True)
}
application_data_args = {'applicationId': fields.Str(required=True, validate=validate.Length(max=64))}
application_data_args = {
'applicationId': fields.Str(required=True, validate=validate.Length(max=64)),
'applicationStatus': fields.Int(
required=False,
missing=0,
validate=lambda val: val >= 0,
),
}
applicant_data_args = {
# 'mainApplicantName': fields.Str(required=True, validate=validate.Length(max=16)),
......@@ -265,6 +272,7 @@ document_args = {
'uploadFinishTime': fields.DateTime(required=True),
'dataSource': fields.Str(required=True, validate=validate.Length(max=64)), # POS/EAPP/Econtract
'metadataVersionId': fields.Str(required=True, validate=validate.Length(max=64)),
'password': fields.Str(required=False, validate=validate.Length(max=16)),
}
doc_upload_args = {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!