Browse Source

Merge branch 'sprint/S3' into release/S3

master
郑贵龙 1 year ago
parent
commit
2fee882a13
2 changed files with 5 additions and 0 deletions
  1. +1
    -0
      demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/ptc/service/receivables/ReceivablesInitialCreateEAIService.java
  2. +4
    -0
      demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/ptc/service/receivables/ReceivablesTaskUpdateEAIService.java

+ 1
- 0
demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/ptc/service/receivables/ReceivablesInitialCreateEAIService.java View File

@ -134,6 +134,7 @@ public class ReceivablesInitialCreateEAIService extends AbsEAIService {
receivablesDetailEntity.setSkuSpec(sku.getSkuSpec()); receivablesDetailEntity.setSkuSpec(sku.getSkuSpec());
receivablesDetailEntity.setReceivableNo("RE-"+DateUtils.currentTimeString()); receivablesDetailEntity.setReceivableNo("RE-"+DateUtils.currentTimeString());
receivablesDetailEntity.setReceivableNon("SEQ-"+DateUtils.currentTimeString()); receivablesDetailEntity.setReceivableNon("SEQ-"+DateUtils.currentTimeString());
receivablesDetailEntity.setContractNo("CO"+DateUtils.currentTimeString());
receivablesDetailEntity.setStatus("1"); receivablesDetailEntity.setStatus("1");
receivablesDetailEntity.setSalesOrder("SO-"+DateUtils.currentTimeString()); receivablesDetailEntity.setSalesOrder("SO-"+DateUtils.currentTimeString());
receivablesDetailEntity.setSalesOrderNumber("SON-"+DateUtils.currentTimeString()); receivablesDetailEntity.setSalesOrderNumber("SON-"+DateUtils.currentTimeString());


+ 4
- 0
demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/ptc/service/receivables/ReceivablesTaskUpdateEAIService.java View File

@ -11,6 +11,8 @@ import com.digiwin.athena.app.ptc.infra.service.CollectionDetailService;
import com.digiwin.athena.opt.common.eai.EAIRequest; import com.digiwin.athena.opt.common.eai.EAIRequest;
import com.digiwin.athena.opt.common.eai.service.AbsEAIService; import com.digiwin.athena.opt.common.eai.service.AbsEAIService;
import com.digiwin.athena.opt.common.security.SecurityUtil; import com.digiwin.athena.opt.common.security.SecurityUtil;
import lombok.extern.log4j.Log4j2;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional; import org.springframework.transaction.annotation.Transactional;
import javax.annotation.Resource; import javax.annotation.Resource;
@ -21,6 +23,8 @@ import java.util.Map;
* @auther: zhenggl * @auther: zhenggl
* @date: 2023/9/12 * @date: 2023/9/12
*/ */
@Service
@Log4j2
public class ReceivablesTaskUpdateEAIService extends AbsEAIService { public class ReceivablesTaskUpdateEAIService extends AbsEAIService {
@Resource @Resource


Loading…
Cancel
Save