|
|
@ -2,6 +2,7 @@ package org.nl.wms.mes.webservice.service.impl; |
|
|
|
|
|
|
|
import cn.hutool.core.bean.BeanUtil; |
|
|
|
import cn.hutool.core.bean.copier.CopyOptions; |
|
|
|
import cn.hutool.core.util.IdUtil; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.nl.wms.mes.domain.QPMES060Request; |
|
|
|
import org.nl.wms.mes.domain.QPMES060Response; |
|
|
@ -29,11 +30,17 @@ public class QPMES060ServiceImpl implements QPMES060Service { |
|
|
|
@Override |
|
|
|
public QPMES060Response QPMES060(QPMES060Request notice){ |
|
|
|
|
|
|
|
log.info("服务被调用 参数:" + notice.toString()); |
|
|
|
log.info("QPMES060服务被调用,输入参数:" + notice.toString()); |
|
|
|
Material material=new Material(); |
|
|
|
material.copyFrom(notice); |
|
|
|
material.setGroup_bind_material_status(GroupBindMaterialStatusEnum.BOUND.getValue()); |
|
|
|
materialMapper.insert(material); |
|
|
|
return new QPMES060Response(); |
|
|
|
QPMES060Response qpmes060Response=new QPMES060Response(); |
|
|
|
qpmes060Response.setDEST_SYSTEM("WMS"); |
|
|
|
qpmes060Response.setINTF_ID("QPMES060"); |
|
|
|
qpmes060Response.setSRC_MSGID(IdUtil.simpleUUID()); |
|
|
|
qpmes060Response.setSRC_SYSTEM("AGV"); |
|
|
|
log.info("QPMES060服务被调用,返回参数:" + qpmes060Response.toString()); |
|
|
|
return qpmes060Response; |
|
|
|
} |
|
|
|
} |
|
|
|