Commit 08ffcb33 authored by tank.li@mushiny.com's avatar tank.li@mushiny.com

出库单下发

parent 048fa0a0
......@@ -14,6 +14,7 @@ import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.sql.Timestamp;
import java.util.*;
/**
......@@ -89,7 +90,11 @@ public class WMSService {
cs.addKV("COMPLETED", Boolean.FALSE);
cs.addKV("WAREHOUSE_ID", CommonUtils.getWarehouse(outboundOrderDTO.getFACTORY()));
cs.addKV("SECTION_ID", CommonUtils.getSection(outboundOrderDTO.getSECTION()));
cs.addKV("CLIENT_ID", CommonUtils.getClient(outboundOrderDTO.getFACTORY()));
cs.addKV("TYPE", "Customer");
cs.addKV("CUSTOMER_NAME", outboundOrderDTO.getORDERID());
cs.addKV("CUSTOMER_NO", outboundOrderDTO.getORDERID());
cs.addKV("DELIVERY_DATE", new Timestamp(System.currentTimeMillis()));
//新增一条记录
this.jdbcRepository.insertBusinessObject(cs);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment