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