|
|
@@ -1153,7 +1153,7 @@
|
|
1153
|
1153
|
<if test="houseId != null" >
|
|
1154
|
1154
|
AND plan.house_id = #{houseId,jdbcType=INTEGER}
|
|
1155
|
1155
|
</if>
|
|
1156
|
|
- order by plan.create_time desc
|
|
|
1156
|
+ order by approval.create_time desc
|
|
1157
|
1157
|
</select>
|
|
1158
|
1158
|
<select id="getProcessList" resultMap="BaseResultMap" parameterType="java.util.Map" >
|
|
1159
|
1159
|
select
|
|
|
@@ -1178,4 +1178,19 @@
|
|
1178
|
1178
|
order by ${orderByClause}
|
|
1179
|
1179
|
</if>
|
|
1180
|
1180
|
</select>
|
|
|
1181
|
+
|
|
|
1182
|
+ <select id="getApprovalList" parameterType="java.lang.String" resultType="java.util.HashMap">
|
|
|
1183
|
+ SELECT
|
|
|
1184
|
+ b.id auditId,
|
|
|
1185
|
+ b.result result,
|
|
|
1186
|
+ b.task_id task_id,
|
|
|
1187
|
+ b.task_name task_name,
|
|
|
1188
|
+ b.from_user_name from_user_name,
|
|
|
1189
|
+ b.from_department from_department,
|
|
|
1190
|
+ b.content
|
|
|
1191
|
+ FROM
|
|
|
1192
|
+ business_approval b
|
|
|
1193
|
+ WHERE
|
|
|
1194
|
+ b.task_id = #{fumigationId,jdbcType=VARCHAR}
|
|
|
1195
|
+ </select>
|
|
1181
|
1196
|
</mapper>
|