소스 검색

【功能完善】【客户增加时最大编号重复问题】

koul 4 년 전
부모
커밋
b9fa9d4000
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/java/com/uas/erp/schedular/finance/task/CustInfomationTask.java

+ 1 - 1
src/main/java/com/uas/erp/schedular/finance/task/CustInfomationTask.java

@@ -49,7 +49,7 @@ public class CustInfomationTask extends AbstractTask{
                 if(cuId == 0){
                     type = "INSERT";
                     cuId = jdbcTemplate.generate("CUSTOMERINFOR_SEQ");
-                    cuCode = (compBaseInfoByErmRest.getCode() ==null || compBaseInfoByErmRest.getCode().equals("") )? jdbcTemplate.generateCode("Customer!Infor", 2):compBaseInfoByErmRest.getCode();
+                    cuCode = (compBaseInfoByErmRest.getCode() ==null || compBaseInfoByErmRest.getCode().equals("") )? jdbcTemplate.generateCode("CustomerInfor", 2):compBaseInfoByErmRest.getCode();
                 }
                 //主表 客户资料
                 sqls.addAll(getMainSqls(type,cuId,cuCode,enMap,entExtInfoResp));