old mode 100644
new mode 100755
| | |
| | | t.remark, |
| | | t.status_cd statusCd, |
| | | t.end_time endTime, |
| | | t.staff_name staffName, |
| | | t.sign_type signType, |
| | | t.start_time startTime, |
| | | t.create_user_id createUserId, |
| | |
| | | <if test="statusCd !=null and statusCd != ''"> |
| | | and t.status_cd= #{statusCd} |
| | | </if> |
| | | <if test="endTime !=null and endTime != ''"> |
| | | <if test="endTime !=null "> |
| | | and t.end_time= #{endTime} |
| | | </if> |
| | | |
| | | <if test="signType !=null and signType != ''"> |
| | | and t.sign_type= #{signType} |
| | | </if> |
| | | <if test="startTime !=null and startTime != ''"> |
| | | <if test="startTime !=null "> |
| | | and t.start_time= #{startTime} |
| | | </if> |
| | | |
| | | <if test="curTime !=null "> |
| | | and t.start_time < #{curTime} |
| | | and t.end_time > #{curTime} |
| | | </if> |
| | | <if test="createUserId !=null and createUserId != ''"> |
| | | and t.create_user_id= #{createUserId} |
| | |
| | | and t.b_id= #{bId} |
| | | </if> |
| | | |
| | | <if test="keyWord !=null and keyWord != ''"> |
| | | and (t.inspection_plan_name like concat('%',#{keyWord},'%') or t.staff_name like concat('%',#{keyWord},'%')) |
| | | </if> |
| | | |
| | | |
| | | </select> |