Commit 8d13ba90 by liuyang

2024-10-23 委外制造加工表

parent c798cd9b
package com.baosight.hggp.hg.sc.service; package com.baosight.hggp.hg.sc.service;
import com.baosight.hggp.core.dao.DaoBase;
import com.baosight.hggp.util.EiInfoUtils;
import com.baosight.hggp.util.LogUtils;
import com.baosight.iplat4j.core.ei.EiConstant;
import com.baosight.iplat4j.core.ei.EiInfo; import com.baosight.iplat4j.core.ei.EiInfo;
import com.baosight.iplat4j.core.service.impl.ServiceEPBase; import com.baosight.iplat4j.core.service.impl.ServiceEPBase;
import java.util.List;
import java.util.Map;
/** /**
* @author LiuYang * @author LiuYang
* @version 1.0 2024/10/23 * @version 1.0 2024/10/23
...@@ -17,6 +24,13 @@ public class ServiceHGSC012 extends ServiceEPBase { ...@@ -17,6 +24,13 @@ public class ServiceHGSC012 extends ServiceEPBase {
@Override @Override
public EiInfo query(EiInfo inInfo) { public EiInfo query(EiInfo inInfo) {
return super.query(inInfo, "HGSC012.query"); try {
Map queryMap = EiInfoUtils.getFirstRow(inInfo);
List<Map> list = DaoBase.getInstance().query("HGSC012.query", queryMap);
inInfo.set(EiConstant.resultBlock, list);
}catch (Exception e){
LogUtils.setDetailMsg(inInfo, e, "查询失败");
}
return inInfo;
} }
} }
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