|
|
@ -57,7 +57,10 @@ |
|
|
|
and si.id = #{id} |
|
|
|
and si.id = #{id} |
|
|
|
</select> |
|
|
|
</select> |
|
|
|
<select id="selectMyApiIndicators" resultType="com.logpm.supervise.vo.IndicatorsVO"> |
|
|
|
<select id="selectMyApiIndicators" resultType="com.logpm.supervise.vo.IndicatorsVO"> |
|
|
|
SELECT si.*,sc.name AS classifyName FROM sup_indicators AS si LEFT JOIN sup_classify AS sc ON si.classify_id = sc.id |
|
|
|
case indicators_status |
|
|
|
|
|
|
|
WHEN 1 then '已提交' |
|
|
|
|
|
|
|
WHEN 2 then '已确认' |
|
|
|
|
|
|
|
END AS indicatorsStatusName |
|
|
|
WHERE si.is_deleted = 0 and si.create_user = #{params.userId} AND sc.is_deleted = 0 |
|
|
|
WHERE si.is_deleted = 0 and si.create_user = #{params.userId} AND sc.is_deleted = 0 |
|
|
|
<if test="params.assessDept != null and params.assessDept != ''" > |
|
|
|
<if test="params.assessDept != null and params.assessDept != ''" > |
|
|
|
and si.assess_dept = #{params.assessDept} |
|
|
|
and si.assess_dept = #{params.assessDept} |
|
|
@ -72,7 +75,11 @@ |
|
|
|
<select id="selectBeMyApiIndicators" resultType="com.logpm.supervise.vo.IndicatorsVO"> |
|
|
|
<select id="selectBeMyApiIndicators" resultType="com.logpm.supervise.vo.IndicatorsVO"> |
|
|
|
SELECT |
|
|
|
SELECT |
|
|
|
si.*, |
|
|
|
si.*, |
|
|
|
sc.NAME AS classifyName |
|
|
|
sc.NAME AS classifyName, |
|
|
|
|
|
|
|
case indicators_status |
|
|
|
|
|
|
|
WHEN 1 then '已提交' |
|
|
|
|
|
|
|
WHEN 2 then '已确认' |
|
|
|
|
|
|
|
END AS indicatorsStatusName |
|
|
|
FROM |
|
|
|
FROM |
|
|
|
sup_indicators AS si |
|
|
|
sup_indicators AS si |
|
|
|
LEFT JOIN sup_classify AS sc ON si.classify_id = sc.id AND sc.is_deleted = 0 |
|
|
|
LEFT JOIN sup_classify AS sc ON si.classify_id = sc.id AND sc.is_deleted = 0 |
|
|
|