99e1ec8c by 周伟奇

fix bug

1 parent 2a430194
...@@ -1757,7 +1757,7 @@ JYPZ_COMPARE_LOGIC = { ...@@ -1757,7 +1757,7 @@ JYPZ_COMPARE_LOGIC = {
1757 'vehicleTransactionAmount': ('price', 'se_amount_compare', {}, '二手车凭证购买方交易价格与系统车辆价格不一致'), 1757 'vehicleTransactionAmount': ('price', 'se_amount_compare', {}, '二手车凭证购买方交易价格与系统车辆价格不一致'),
1758 'customerName': ('buyer_name', 'se_name_compare', {'is_passport': True}, '二手车凭证购买方姓名与系统主借人姓名不一致'), 1758 'customerName': ('buyer_name', 'se_name_compare', {'is_passport': True}, '二手车凭证购买方姓名与系统主借人姓名不一致'),
1759 'idNum': ('buyer_id', 'se_contain_compare_2', {}, '二手车凭证购买方证件号与系统主借人证件号不一致'), 1759 'idNum': ('buyer_id', 'se_contain_compare_2', {}, '二手车凭证购买方证件号与系统主借人证件号不一致'),
1760 'date': ('date', 'se_date_compare_2', {}, '二手车凭证购买方交易价格早于submissionDate'), 1760 'date': ('date', 'se_date_compare_2', {'three_month': True}, '二手车凭证交易日期早于submissionDate'),
1761 } 1761 }
1762 1762
1763 HMH_COMPARE_LOGIC = { 1763 HMH_COMPARE_LOGIC = {
......
...@@ -400,7 +400,7 @@ class Command(BaseCommand, LoggerMixin): ...@@ -400,7 +400,7 @@ class Command(BaseCommand, LoggerMixin):
400 self.folder_log.info('{0} [file end] [path={1}]'.format(self.log_base, path)) 400 self.folder_log.info('{0} [file end] [path={1}]'.format(self.log_base, path))
401 else: 401 else:
402 result = None 402 result = None
403 self.folder_log.info('{0} [path is dir] [path={1}]'.format(self.log_base, input_dir)) 403 self.folder_log.info('{0} [path is dir] [path={1}]'.format(self.log_base, path))
404 failed_path = os.path.join(failed_output_dir, '{0}_{1}'.format(time.time(), name)) 404 failed_path = os.path.join(failed_output_dir, '{0}_{1}'.format(time.time(), name))
405 shutil.move(path, failed_path) 405 shutil.move(path, failed_path)
406 except OSError: 406 except OSError:
......
...@@ -638,7 +638,7 @@ class Command(BaseCommand, LoggerMixin): ...@@ -638,7 +638,7 @@ class Command(BaseCommand, LoggerMixin):
638 self.folder_log.info('{0} [file end] [path={1}]'.format(self.log_base, path)) 638 self.folder_log.info('{0} [file end] [path={1}]'.format(self.log_base, path))
639 else: 639 else:
640 result = None 640 result = None
641 self.folder_log.info('{0} [path is dir] [path={1}]'.format(self.log_base, input_dir)) 641 self.folder_log.info('{0} [path is dir] [path={1}]'.format(self.log_base, path))
642 failed_path = os.path.join(failed_output_dir, '{0}_{1}'.format(time.time(), name)) 642 failed_path = os.path.join(failed_output_dir, '{0}_{1}'.format(time.time(), name))
643 shutil.move(path, failed_path) 643 shutil.move(path, failed_path)
644 except OSError: 644 except OSError:
......
...@@ -308,7 +308,7 @@ class Command(BaseCommand, LoggerMixin): ...@@ -308,7 +308,7 @@ class Command(BaseCommand, LoggerMixin):
308 self.img_process(name, path, classify, wb_output_dir, img_output_dir, pdf_output_dir) 308 self.img_process(name, path, classify, wb_output_dir, img_output_dir, pdf_output_dir)
309 self.folder_log.info('{0} [file end] [path={1}]'.format(self.log_base, path)) 309 self.folder_log.info('{0} [file end] [path={1}]'.format(self.log_base, path))
310 else: 310 else:
311 self.folder_log.info('{0} [path is dir] [path={1}]'.format(self.log_base, input_dir)) 311 self.folder_log.info('{0} [path is dir] [path={1}]'.format(self.log_base, path))
312 failed_path = os.path.join(failed_output_dir, '{0}_{1}'.format(time.time(), name)) 312 failed_path = os.path.join(failed_output_dir, '{0}_{1}'.format(time.time(), name))
313 shutil.move(path, failed_path) 313 shutil.move(path, failed_path)
314 except OSError: 314 except OSError:
......
...@@ -584,7 +584,7 @@ class Command(BaseCommand, LoggerMixin): ...@@ -584,7 +584,7 @@ class Command(BaseCommand, LoggerMixin):
584 shutil.move(path, failed_path) 584 shutil.move(path, failed_path)
585 self.folder_log.info('{0} [file end] [path={1}]'.format(self.log_base, path)) 585 self.folder_log.info('{0} [file end] [path={1}]'.format(self.log_base, path))
586 else: 586 else:
587 self.folder_log.info('{0} [path is dir] [path={1}]'.format(self.log_base, input_dir)) 587 self.folder_log.info('{0} [path is dir] [path={1}]'.format(self.log_base, path))
588 failed_path = os.path.join(failed_output_dir, '{0}_{1}'.format(time.time(), name)) 588 failed_path = os.path.join(failed_output_dir, '{0}_{1}'.format(time.time(), name))
589 shutil.move(path, failed_path) 589 shutil.move(path, failed_path)
590 except OSError: 590 except OSError:
......
...@@ -819,10 +819,10 @@ class HILAutoSettlement(models.Model): ...@@ -819,10 +819,10 @@ class HILAutoSettlement(models.Model):
819 aa_type = models.CharField(null=True, max_length=64, verbose_name="aa_type") 819 aa_type = models.CharField(null=True, max_length=64, verbose_name="aa_type")
820 820
821 rpa_result = models.SmallIntegerField(null=True, verbose_name="原因10数目") 821 rpa_result = models.SmallIntegerField(null=True, verbose_name="原因10数目")
822 rpa_1st_eye_tat = models.DecimalField(null=True, verbose_name='rpa_1st_eye_tat') 822 rpa_1st_eye_tat = models.DecimalField(max_digits=18, decimal_places=0, null=True, verbose_name='rpa_1st_eye_tat')
823 rpa_2nd_eye_tat = models.DecimalField(null=True, verbose_name='rpa_2nd_eye_tat') 823 rpa_2nd_eye_tat = models.DecimalField(max_digits=18, decimal_places=0, null=True, verbose_name='rpa_2nd_eye_tat')
824 rpa_3rd_eye_tat = models.DecimalField(null=True, verbose_name='rpa_3rd_eye_tat') 824 rpa_3rd_eye_tat = models.DecimalField(max_digits=18, decimal_places=0, null=True, verbose_name='rpa_3rd_eye_tat')
825 rpa_total_tat = models.DecimalField(null=True, verbose_name='rpa_total_tat') 825 rpa_total_tat = models.DecimalField(max_digits=18, decimal_places=0, null=True, verbose_name='rpa_total_tat')
826 rpa_activated_time = models.DateTimeField(null=True, verbose_name='rpa_activated_time') 826 rpa_activated_time = models.DateTimeField(null=True, verbose_name='rpa_activated_time')
827 rpa_get_case_from_ocr_time = models.DateTimeField(null=True, verbose_name='rpa_get_case_from_ocr_time') 827 rpa_get_case_from_ocr_time = models.DateTimeField(null=True, verbose_name='rpa_get_case_from_ocr_time')
828 rpa_get_case_from_oc_time = models.DateTimeField(null=True, verbose_name='rpa_get_case_from_oc_time') 828 rpa_get_case_from_oc_time = models.DateTimeField(null=True, verbose_name='rpa_get_case_from_oc_time')
...@@ -848,10 +848,10 @@ class AFCAutoSettlement(models.Model): ...@@ -848,10 +848,10 @@ class AFCAutoSettlement(models.Model):
848 aa_type = models.CharField(null=True, max_length=64, verbose_name="aa_type") 848 aa_type = models.CharField(null=True, max_length=64, verbose_name="aa_type")
849 849
850 rpa_result = models.SmallIntegerField(null=True, verbose_name="原因10数目") 850 rpa_result = models.SmallIntegerField(null=True, verbose_name="原因10数目")
851 rpa_1st_eye_tat = models.DecimalField(null=True, verbose_name='rpa_1st_eye_tat') 851 rpa_1st_eye_tat = models.DecimalField(max_digits=18, decimal_places=0, null=True, verbose_name='rpa_1st_eye_tat')
852 rpa_2nd_eye_tat = models.DecimalField(null=True, verbose_name='rpa_2nd_eye_tat') 852 rpa_2nd_eye_tat = models.DecimalField(max_digits=18, decimal_places=0, null=True, verbose_name='rpa_2nd_eye_tat')
853 rpa_3rd_eye_tat = models.DecimalField(null=True, verbose_name='rpa_3rd_eye_tat') 853 rpa_3rd_eye_tat = models.DecimalField(max_digits=18, decimal_places=0, null=True, verbose_name='rpa_3rd_eye_tat')
854 rpa_total_tat = models.DecimalField(null=True, verbose_name='rpa_total_tat') 854 rpa_total_tat = models.DecimalField(max_digits=18, decimal_places=0, null=True, verbose_name='rpa_total_tat')
855 rpa_activated_time = models.DateTimeField(null=True, verbose_name='rpa_activated_time') 855 rpa_activated_time = models.DateTimeField(null=True, verbose_name='rpa_activated_time')
856 rpa_get_case_from_ocr_time = models.DateTimeField(null=True, verbose_name='rpa_get_case_from_ocr_time') 856 rpa_get_case_from_ocr_time = models.DateTimeField(null=True, verbose_name='rpa_get_case_from_ocr_time')
857 rpa_get_case_from_oc_time = models.DateTimeField(null=True, verbose_name='rpa_get_case_from_oc_time') 857 rpa_get_case_from_oc_time = models.DateTimeField(null=True, verbose_name='rpa_get_case_from_oc_time')
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!