diff --git a/mztb/src/main/java/cc/smtweb/biz/mztb/web/controller/MztbController.java b/mztb/src/main/java/cc/smtweb/biz/mztb/web/controller/MztbController.java index da7dce8..2600109 100644 --- a/mztb/src/main/java/cc/smtweb/biz/mztb/web/controller/MztbController.java +++ b/mztb/src/main/java/cc/smtweb/biz/mztb/web/controller/MztbController.java @@ -108,6 +108,7 @@ public class MztbController { userStatuListExist.add(userStatuList.get(index)); ptIdListExist.add(ptIdList.get(index)); } + partyInfo.setId(instance.nextId()); existPartyMap.put(map.get("pi_credit_code") + "", insertIndex); insertIndex++; @@ -116,6 +117,8 @@ public class MztbController { long ptId = Long.parseLong(map.get("pi_id") + ""); party.setId(ptId); party.setCode(ptId + ""); + party.setId(partyInfo.getId()); + party.setCode(partyInfo.getId() + ""); party.setName(partyInfo.getPartyName()); party.setType(101); party.setAreaId(Long.parseLong(partyInfo.getAreaCode()));