Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -207,4 +207,6 @@ public interface ContractService {
|
||||
JSONObject sendToErp(ErpContractSaveReqVO erpContractVO);
|
||||
|
||||
ErpContractSaveReqVO getErpContract(ContractMainDO contractMainDO);
|
||||
|
||||
String generateSystemContractNumber(String category);
|
||||
}
|
||||
|
||||
@@ -1635,7 +1635,7 @@ public class ContractServiceImpl implements ContractService {
|
||||
operationId = "1";
|
||||
} else {
|
||||
// 3、如果009接口返回值中“合同编号”字段不存在值,根据合同主键查询映射表中是否存在没有删除的数据,如果有,值为“1”,如果没有,值为“0”
|
||||
ErpContractDO erpContract = erpContractService.getErpContractByMainId(contractMainDO.getId());
|
||||
ErpContractDO erpContract = erpContractService.getErpContractByPaperNumber(contractMainDO.getContractPaperNumber());
|
||||
if (erpContract != null) {
|
||||
operationId = "1";
|
||||
} else {
|
||||
@@ -1971,7 +1971,8 @@ public class ContractServiceImpl implements ContractService {
|
||||
*
|
||||
* @return 系统合同编号
|
||||
*/
|
||||
private String generateSystemContractNumber(String category) {
|
||||
@Override
|
||||
public String generateSystemContractNumber(String category) {
|
||||
|
||||
// 单据名称(拼音)
|
||||
String documentName = "XTHT";
|
||||
|
||||
Reference in New Issue
Block a user