Commit 528a6265 authored by yff's avatar yff

修改WOBOM sql

parent e84ed4af
......@@ -1240,14 +1240,14 @@ public class GpfkDaoImpl extends BaseDaoImpl implements GpfkDao {
sqlMap.append(" WOBOM_WHSJ, WOBOM_CJRID, WOBOM_CJR, WOBOM_CJSJ, WOBOM_SYSVERSION,");
sqlMap.append(" WLXX_CODE, WLXX_NAME, WLXX_GG, WOBOM_GJWL, WOBOM_ZT, WOBOM_DJLY,");
sqlMap.append(" WOGYLX_XH, WOGYLX_NAME, WOBOM_WLPH ");
sqlMap.append(" WOGYLX_XH, WOGYLX_NAME, WOBOM_WLPH ");
sqlMap.append("from WOBOM");
sqlMap.append(" left join WLXX on WLXX_ID = WOBOM_WLID");
sqlMap.append(" left join WO on WO_ID = WOBOM_WOID");
sqlMap.append(" left join WOGYLX on WOGYLX_ID = WOBOM_FFGX ");
sqlMap.append("where 1=1");
if (StringUtils.isNotEmpty(snid)){
sqlMap.append(" and " + SqlUtil.getWhereSql("WOBOM_WOID", snid));
sqlMap.setParamValue("WOBOM_WOID", snid);
sqlMap.append(" and " + SqlUtil.getWhereSql("WO_DJID", snid));
sqlMap.setParamValue("WO_DJID", snid);
}
sqlMap.append("order by WOBOM_XH, WLXX_CODE");
return sqlMap.query(WobomVO.class);
......
......@@ -9,7 +9,7 @@ import com.gavel.jcsj.utils.SnGzflEnum;
public enum SmCodeEnum {
LOGOUT("LOGOUT", "退出","LOGOUT",10),
WOSNID("WOSNID","工单序列号","SNID",10),
WOSNID("WOSNID","工单序列号","20",10),
WLID("WLID","物料编码","WLID",10),
OKBZ("OKBZ","OK按钮","OKBZ",10),
NGBZ("NGBZ","NG按钮","NGBZ",10);
......
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