Commit aa1673f4 by 高晓磊

获取当前登录人录入的接驳量时间修改为年月日格式

parent 9035c94f
...@@ -54,7 +54,8 @@ public class PlanningCycleServiceImpl implements PlanningCycleService{ ...@@ -54,7 +54,8 @@ public class PlanningCycleServiceImpl implements PlanningCycleService{
public UUID getPlanningCycleObjBySum(String planningCycle,Date date) { @Override
public UUID getPlanningCycleObjBySum(String planningCycle, Date date) {
PlanningCycleEnum planningCycleType = null; PlanningCycleEnum planningCycleType = null;
if (PlanningCycleEnum.DAY.name().equalsIgnoreCase(planningCycle)) { if (PlanningCycleEnum.DAY.name().equalsIgnoreCase(planningCycle)) {
planningCycleType = PlanningCycleEnum.DAY; planningCycleType = PlanningCycleEnum.DAY;
...@@ -67,5 +68,4 @@ public UUID getPlanningCycleObjBySum(String planningCycle,Date date) { ...@@ -67,5 +68,4 @@ public UUID getPlanningCycleObjBySum(String planningCycle,Date date) {
return ID; return ID;
} }
} }
...@@ -58,8 +58,8 @@ public class DischargingController { ...@@ -58,8 +58,8 @@ public class DischargingController {
public ResponseObj getListByCreatorPage( public ResponseObj getListByCreatorPage(
@RequestParam(name = "pageNo") Integer pageNo, @RequestParam(name = "pageNo") Integer pageNo,
@RequestParam(name = "pageSize") Integer pageSize, @RequestParam(name = "pageSize") Integer pageSize,
@RequestParam(name = "startDate", required = false)@DateTimeFormat(pattern = "yyyy-MM-dd")Date startDate, @RequestParam(name = "startDate", required = false)@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")Date startDate,
@RequestParam(name = "endDate", required = false)@DateTimeFormat(pattern = "yyyy-MM-dd")Date endDate, @RequestParam(name = "endDate", required = false)@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")Date endDate,
@RequestParam(name = "creatorId", required = false)UUID creatorId @RequestParam(name = "creatorId", required = false)UUID creatorId
) { ) {
......
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