提交
This commit is contained in:
@@ -52,6 +52,14 @@ public class WorkTaskServiceImpl implements WorkTaskService {
|
||||
if (StrUtil.isNotEmpty(worktask_code)) {
|
||||
map.put("worktask_code", "%" + worktask_code + "%");
|
||||
}
|
||||
String begin_time = map.get("begin_time");
|
||||
if (StrUtil.isNotEmpty(begin_time)) {
|
||||
map.put("begin_time", begin_time.substring(0,10)+" 00:00:00");
|
||||
}
|
||||
String end_time = map.get("end_time");
|
||||
if (StrUtil.isNotEmpty(end_time)) {
|
||||
map.put("end_time", end_time.substring(0,10)+" 23:59:59");
|
||||
}
|
||||
JSONObject json = WQL.getWO("QPDM_WORKTASK01").addParamMap(map).pageQuery(WqlUtil.getHttpContext(page), "WorkTask.worktask_code");
|
||||
return json;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user