| | |
| | | </if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectArdAppTaskDetailListByTaskId" resultType="ArdAppTaskDetail"> |
| | | select * from ard_app_task_detail where task_id=#{taskId} |
| | | </select> |
| | | <select id="selectArdAppTaskById" parameterType="String" resultMap="ArdAppTaskSub1Result"> |
| | | <include refid="selectArdAppTaskDto"/> |
| | | where a.id = #{id} |
| | | </select> |
| | | |
| | | <select id="selectArdAppTaskDetailListByIdAndUserId" resultType="ArdAppTaskDetail"> |
| | | select * from ard_app_task_detail d |
| | | where d.task_id = #{id} and d.user_id = #{detailUserId} |
| | | select * |
| | | from ard_app_task_detail d |
| | | where d.task_id = #{id} |
| | | and d.user_id = #{detailUserId} |
| | | </select> |
| | | <select id="selectArdAppTaskPicListById" resultType="ArdAppTaskPic"> |
| | | select * from ard_app_task_pic d where d.task_id = #{id} |
| | | select * |
| | | from ard_app_task_pic d |
| | | where d.task_id = #{id} |
| | | </select> |
| | | <select id="selectArdAppTaskDetailUserIdsByTaskId" parameterType="String" resultType="java.lang.String"> |
| | | select DISTINCT(user_id) from ard_app_task_detail where task_id=#{taskId} |
| | | select DISTINCT(user_id) |
| | | from ard_app_task_detail |
| | | where task_id = #{taskId} |
| | | </select> |
| | | |
| | | |