xiebin
2022-09-30 e14c110e30c9d452f04a9fe838c9272dbb1a6463
src/main/java/org/springblade/modules/repairsorder/mapper/RepairsorderMapper.xml
@@ -29,6 +29,12 @@
        <if test="repairsorder.no !=null and repairsorder.no !='' ">
            AND no like CONCAT('%',#{repairsorder.no},'%')
        </if>
        <if test="repairsorder.state != null and repairsorder.state != '' ">
            and state = #{repairsorder.state}
        </if>
        <if test="repairsorder.toUserId != null and repairsorder.toUserId != '' ">
            and to_user_id = #{repairsorder.toUserId}
        </if>
        <if test="repairsorder.startTime !=null and repairsorder.startTime !=''">
            AND DATE_FORMAT(create_time,'%Y-%m-%d') &gt;= #{repairsorder.startTime}
        </if>