|
|
@ -159,14 +159,14 @@ public class AsServiceClaimanuService extends MybatisBaseService<AsServiceClaima |
|
|
|
} |
|
|
|
int i = baseMapper.checkByCodeAndUseOrgSid(dto.getClaiManuNo(), dto.getUseOrgSid()); |
|
|
|
if (i > 0) { |
|
|
|
return rb.setMsg("编码已存在"); |
|
|
|
return rb.setMsg("索赔厂家编号已存在"); |
|
|
|
} |
|
|
|
this.insertByDto(dto); |
|
|
|
return rb.success(); |
|
|
|
} |
|
|
|
int i = baseMapper.checkSidByCodeAndUseOrgSid(dto.getClaiManuNo(), dto.getUseOrgSid(), dtoSid); |
|
|
|
if (i > 0) { |
|
|
|
return rb.setMsg("编码已存在"); |
|
|
|
return rb.setMsg("索赔厂家编号已存在"); |
|
|
|
} |
|
|
|
this.updateByDto(dto); |
|
|
|
return rb.success(); |
|
|
|