소스 검색

试验编号优化

chenr 1 개월 전
부모
커밋
225a179607

+ 1 - 1
blade-service/blade-business/src/main/java/org/springblade/business/service/impl/TrialNumberRuleServiceImpl.java

@@ -276,7 +276,7 @@ public class TrialNumberRuleServiceImpl extends BaseServiceImpl<TrialNumberRuleM
             } else if (type==2) {
                 update="update u_trial_sample_info set specification_number = NULL where contract_id="+contractId;
             } else if (type==3) {
-                update="update u_entrust_info set entrust_no IS NULL where contract_id="+contractId+" and status=1";
+                update="update u_entrust_info set entrust_no = NULL where contract_id="+contractId+" and status=1";
             } else if (type==4) {
                 update="update u_trial_self_inspection_record set record_no = NULL where contract_id="+contractId+" and task_status='未上报'";
             }else{