原材料汇总页面修复
This commit is contained in:
@@ -101,7 +101,8 @@ public class MesXslRawMaterialSummaryController {
|
||||
.append("AND (w.del_flag = 0 OR w.del_flag IS NULL) ")
|
||||
.append("LEFT JOIN mes_mixer_material m ON m.id = i.material_id ")
|
||||
.append("AND (m.del_flag = 0 OR m.del_flag IS NULL) ")
|
||||
.append("WHERE (i.del_flag = 0 OR i.del_flag IS NULL) ");
|
||||
// mes_xsl_raw_material_inventory 表当前无 del_flag 字段,这里使用恒真条件避免 SQL 报错
|
||||
.append("WHERE 1=1 ");
|
||||
|
||||
if (query != null && StringUtils.isNotBlank(query.getWarehouseName())) {
|
||||
sql.append("AND ").append(warehouseExpr).append(" LIKE ? ");
|
||||
|
||||
Reference in New Issue
Block a user