java110
2023-05-25 781c2e20a4bb844dae3f4eafbf5f0e494b942ea8
java110-db/src/main/resources/mapper/community/RepairServiceDaoImplMapper.xml
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
        PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
        "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="repairServiceDaoImpl">
@@ -180,6 +179,9 @@
        <if test="repairName !=null and repairName != ''">
            and t.repair_name like '%${repairName}%'
        </if>
        <if test="repairNameLike !=null and repairNameLike != ''">
            and t.repair_name like concat('%',#{repairNameLike},'%')
        </if>
        <if test="appointmentTime !=null ">
            and t.appointment_time= #{appointmentTime}
        </if>
@@ -324,6 +326,9 @@
        <if test="repairName !=null and repairName != ''">
            and t.repair_name like '%${repairName}%'
        </if>
        <if test="repairNameLike !=null and repairNameLike != ''">
            and t.repair_name like concat('%',#{repairNameLike},'%')
        </if>
        <if test="appointmentTime !=null ">
            and t.appointment_time= #{appointmentTime}
        </if>
@@ -372,6 +377,9 @@
        <if test="repairObjId !=null and repairObjId != ''">
            and t.repair_obj_id= #{repairObjId}
        </if>
        <if test="maintenanceType !=null and maintenanceType != ''">
            and t.maintenance_type= #{maintenanceType}
        </if>
        <if test="repairChannels !=null">
            and t.repair_channel in
            <foreach collection="repairChannels" item="item" open="(" close=")" separator=",">
@@ -381,8 +389,7 @@
    </select>
    <!-- 查询报修信息信息 add by wuxw 2018-07-03
     将状态先调整  and ru.state in ('10001','10002')
     -->
     将状态先调整  and ru.state in ('10001','10002')-->
    <select id="getStaffRepairInfo" parameterType="Map" resultType="Map">
        select distinct t.repair_name,t.repair_name repairName,t.appointment_time,t.appointment_time
        appointmentTime,t.repair_type,t.repair_type repairType,t.context,t.repair_id,t.repair_id
@@ -580,6 +587,9 @@
        <if test="repairObjId !=null and repairObjId != ''">
            and t.repair_obj_id= #{repairObjId}
        </if>
        <if test="maintenanceType !=null and maintenanceType != ''">
            and t.maintenance_type= #{maintenanceType}
        </if>
        <if test="payType !=null and payType != ''">
            and t.pay_type= #{payType}
        </if>
@@ -645,6 +655,9 @@
        <if test="repairObjId !=null and repairObjId != ''">
            and t.repair_obj_id= #{repairObjId}
        </if>
        <if test="maintenanceType !=null and maintenanceType != ''">
            and t.maintenance_type= #{maintenanceType}
        </if>
        <if test="payType !=null and payType != ''">
            and t.pay_type= #{payType}
        </if>