|
|
|
@ -79,7 +79,7 @@ public class PurContractService extends ServiceImpl<PurContractMapper, PurContra
|
|
|
|
|
*
|
|
|
|
|
* @param id
|
|
|
|
|
*/
|
|
|
|
|
public void importPlan(Long id) {
|
|
|
|
|
public void importPlan(Long id,Integer pageType) {
|
|
|
|
|
PurPlanEntity purPlanEntity = purPlanDao.selectById(id);
|
|
|
|
|
PurPlanDetailRequest purApplyDetailRequest = new PurPlanDetailRequest();
|
|
|
|
|
purApplyDetailRequest.setOrderIdFk(String.valueOf(id));
|
|
|
|
@ -97,6 +97,7 @@ public class PurContractService extends ServiceImpl<PurContractMapper, PurContra
|
|
|
|
|
String code = gennerOrderUtils.createScOrderNo(new OrderNoTypeBean("HT", "yyyyMMdd"));
|
|
|
|
|
purContractEntity.setCode(code);
|
|
|
|
|
purContractEntity.setId(null);
|
|
|
|
|
purContractEntity.setPageType(pageType);
|
|
|
|
|
purContractMapper.insert(purContractEntity);
|
|
|
|
|
Long newId = purContractEntity.getId();
|
|
|
|
|
|
|
|
|
|