java110
2021-03-18 7d21be9c370e4ece9c07d040b3937adb17809e13
java110-db/src/main/resources/mapper/community/InspectionPlanServiceDaoImplMapper.xml
@@ -152,7 +152,6 @@
            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,
@@ -183,15 +182,20 @@
        <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 &lt; #{curTime}
            and t.end_time &gt; #{curTime}
        </if>
        <if test="createUserId !=null and createUserId != ''">
            and t.create_user_id= #{createUserId}
@@ -304,9 +308,6 @@
            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>