Commit 1fb87829 authored by H2T's avatar H2T

巡检计划接口日期格式化

parent cda527c8
...@@ -97,7 +97,7 @@ ...@@ -97,7 +97,7 @@
<!--巡检计划查询 --> <!--巡检计划查询 -->
<select id="getPlanInfo" resultType="java.util.HashMap"> <select id="getPlanInfo" resultType="java.util.HashMap">
SELECT SELECT
a.id,a.name , IFNULL(a.plan_begin, null) planBegin,a.status, a.id,a.name , date_format(IFNULL(a.plan_begin, null),'%Y-%m-%d') planBegin,a.status,
( (
case a.plan_type case a.plan_type
when 1 THEN '天' when 1 THEN '天'
...@@ -112,7 +112,7 @@ ...@@ -112,7 +112,7 @@
else '是' else '是'
end end
) as isFixedDateName, ) as isFixedDateName,
IFNULL(a.plan_end, NULL) planEnd,a.plan_type planType, date_format(IFNULL(a.plan_end, NULL),'%Y-%m-%d') planEnd,a.plan_type planType,
b.name routeName,a.route_id routeId,a.is_fixed_date isFixedDate,a.remark,a.remark1, b.name routeName,a.route_id routeId,a.is_fixed_date isFixedDate,a.remark,a.remark1,
b.dept_name bizOrgCode b.dept_name bizOrgCode
FROM FROM
......
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