fix(检验项目同步接口和检验计划同步接口):增加逻辑

This commit is contained in:
liaohechuan 2024-12-20 15:46:46 +08:00
parent d950ddde17
commit c7d4dc7adb
2 changed files with 0 additions and 4 deletions

View File

@ -43,12 +43,10 @@ public class SapExamineItem implements HandlerService {
Gson gson = new Gson();
SapExamineItemDTO sapExamineItemDTO = gson.fromJson(jsonObject.getJSONObject(Msg.MESSAGE_CONTENT).toJSONString(), SapExamineItemDTO.class);
sapExamineItemDTO.setBatchId(invokeRequest.getTransSid());
sapExamineItemDTO.setSite(invokeRequest.getSite());
// 检验项目接口表
ZQmsQcItemItf zQmsQcItemItf = new ZQmsQcItemItf();
// 属性copy
BeanUtils.copyProperties(sapExamineItemDTO, zQmsQcItemItf);
zQmsQcItemItf.setHandle(StrUtil.uuid());
zQmsQcItemItf.setCreator(Msg.SAP);
zQmsQcItemItf.setDateCreate(nowLocalDateTime);
zQmsQcItemItf.setResponseStatus(Msg.S);

View File

@ -47,12 +47,10 @@ public class SapTextSub implements HandlerService {
Gson gson = new Gson();
SapQcItemTypeTextSubDTO sapQcItemTypeTextSubDTO = gson.fromJson(jsonObject.get(Msg.MESSAGE_CONTENT).toString(), SapQcItemTypeTextSubDTO.class);
sapQcItemTypeTextSubDTO.setBatchId(invokeRequest.getTransSid());
sapQcItemTypeTextSubDTO.setSite(invokeRequest.getSite());
// 选项集同步接口表
ZQmsQcItemTypeTextSubItf zQmsQcItemTypeTextSubItf = new ZQmsQcItemTypeTextSubItf();
// 属性copy
BeanUtils.copyProperties(sapQcItemTypeTextSubDTO, zQmsQcItemTypeTextSubItf);
zQmsQcItemTypeTextSubItf.setHandle(StrUtil.uuid());
zQmsQcItemTypeTextSubItf.setCreator(Msg.SAP);
zQmsQcItemTypeTextSubItf.setDateCreate(nowLocalDateTime);
zQmsQcItemTypeTextSubItf.setResponseStatus(Msg.S);