修改语句bug
This commit is contained in:
@ -221,7 +221,7 @@
|
|||||||
ccl.remark,
|
ccl.remark,
|
||||||
CASE
|
CASE
|
||||||
WHEN ccl.approve_status = 0 AND ccl.work_flow_id IS NULL THEN '未开始'
|
WHEN ccl.approve_status = 0 AND ccl.work_flow_id IS NULL THEN '未开始'
|
||||||
WHEN ccl.approve_status = 0 AND ccl.work_flow_id IS NOT NULL THEN '进行中'
|
WHEN ccl.approve_status = 3 THEN '进行中'
|
||||||
ELSE '已结束'
|
ELSE '已结束'
|
||||||
END AS approveStatusName,
|
END AS approveStatusName,
|
||||||
CASE
|
CASE
|
||||||
|
@ -186,7 +186,7 @@
|
|||||||
|
|
||||||
select cclsa.id, ccl.name,ccl.area,'张三' as applyUser ,
|
select cclsa.id, ccl.name,ccl.area,'张三' as applyUser ,
|
||||||
ccl.create_time as applyTime,cclsa.approve_status as approveStatus,
|
ccl.create_time as applyTime,cclsa.approve_status as approveStatus,
|
||||||
case when cclsa.approve_status=0 then '未开始'
|
case when cclsa.approve_status=0 and cclsa.work_flow_id is null then '未开始'
|
||||||
when cclsa.approve_status=0 and cclsa.work_flow_id is not null then '进行中'
|
when cclsa.approve_status=0 and cclsa.work_flow_id is not null then '进行中'
|
||||||
else '已结束'
|
else '已结束'
|
||||||
end as processStatusName,
|
end as processStatusName,
|
||||||
|
@ -87,11 +87,13 @@
|
|||||||
|
|
||||||
</if>
|
</if>
|
||||||
</where>
|
</where>
|
||||||
|
order by cc.order_by asc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectMyPage" parameterType="object"
|
<select id="selectMyPage" parameterType="object"
|
||||||
resultMap="CoscoCategoryResult">
|
resultMap="CoscoCategoryResult">
|
||||||
<include refid="selectCoscoCategoryVo"/>
|
<include refid="selectCoscoCategoryVo"/>
|
||||||
|
order by order_by asc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectCoscoCategoryById" parameterType="String"
|
<select id="selectCoscoCategoryById" parameterType="String"
|
||||||
|
Reference in New Issue
Block a user