Commit aa1673f4 by 高晓磊

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

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