【 PO订单页面,点击查询后,过滤条件错误,导致数据显示异常】【bug6493】

yun-zuoyi
qianhs 6 years ago
parent fe962c1ab3
commit d4422bee15

@ -493,6 +493,21 @@ public class DdlPreparedPack {
}
/**
* or
*
* @param data
* @param columnName
* @param packBean
*/
public static void getNotOrIsNull(Object data, String columnName, DdlPackBean packBean) {
if (data != null) {
packBean.addColumnQuery(columnName, " and (model." + columnName + " in (:m_" + columnName + ") " +
"or model." + columnName + " is null)", data);
}
}
/**
* in
*
* @param data

@ -213,7 +213,7 @@ public class WmsHqlPack {
numList.add(0);
numList.add(wmsPOMaster.getPriorRC());
numList.add(null);
DdlPreparedPack.getInPackList(numList, "priorRC", result);
DdlPreparedPack.getNotOrIsNull(numList, "priorRC", result);
}else{
DdlPreparedPack.getNumEqualPack(wmsPOMaster.getPriorRC(), "priorRC", result);
}

Loading…
Cancel
Save