优化
This commit is contained in:
@@ -99,8 +99,8 @@
|
||||
mb.material_code
|
||||
FROM
|
||||
pdm_bi_procedureoffline off
|
||||
LEFT JOIN md_me_materialbase mb ON mb.material_id = off.material_id
|
||||
LEFT JOIN md_pb_bucketrecord bucket ON bucket.bucketunique = off.bucketunique AND bucket.`status` = '02'
|
||||
INNER JOIN md_me_materialbase mb ON mb.material_id = off.material_id
|
||||
INNER JOIN md_pb_bucketrecord bucket ON bucket.bucketunique = off.bucketunique AND bucket.`status` = '02'
|
||||
WHERE
|
||||
off.`status` = '0'
|
||||
AND
|
||||
|
||||
@@ -43,6 +43,14 @@ public class IostordailyServiceImpl implements IostordailyService {
|
||||
String class_idStr = MapUtil.getStr(whereJson, "class_idStr");
|
||||
HashMap<String, String> map = new HashMap<>(whereJson);
|
||||
map.put("flag", "1");
|
||||
String begin_time = MapUtil.getStr(whereJson, "begin_time");
|
||||
if (StrUtil.isNotEmpty(begin_time)) {
|
||||
map.put("begin_time", begin_time.substring(0,10));
|
||||
}
|
||||
String end_time = MapUtil.getStr(whereJson, "end_time");
|
||||
if (StrUtil.isNotEmpty(end_time)) {
|
||||
map.put("end_time", end_time.substring(0,10));
|
||||
}
|
||||
//处理物料当前节点的所有子节点
|
||||
if (!StrUtil.isEmpty(material_type_id)) {
|
||||
map.put("material_type_id", material_type_id);
|
||||
|
||||
Reference in New Issue
Block a user