liurunyu
2025-05-06 5ade866b912c6098da132afb23d175e016de6c9f
pipIrr-platform/pipIrr-global/src/main/resources/mapper/PrIntakeMapper.xml
@@ -378,7 +378,7 @@
                AND bindNumTb.num = #{bindNumber}
            </if>
        </where>
        ORDER BY ge.operateDt DESC
        ORDER BY ge.divideId DESC, ge.id DESC
        <trim prefix="limit ">
            <if test="start != null and count != null">
                #{start,javaType=Integer,jdbcType=INTEGER}, #{count,javaType=Integer,jdbcType=INTEGER}
@@ -774,8 +774,8 @@
        FROM pr_intake tb
        <where>
            tb.deleted = 0
            <if test="intakeName != null and intakeName != ''">
                AND tb.name LIKE CONCAT('%', #{intakeName})
            <if test="intakeNum != null and intakeNum != ''">
                AND tb.name LIKE CONCAT('%', #{intakeNum})
            </if>
        </where>
    </select>
@@ -790,8 +790,8 @@
        INNER JOIN pr_controller con ON con.intakeId = inta.id
        <where>
            inta.deleted = 0
            <if test="intakeName != null and intakeName != ''">
                AND inta.name LIKE CONCAT('%', #{intakeName})
            <if test="intakeNum != null and intakeNum != ''">
                AND inta.name LIKE CONCAT('%', #{intakeNum})
            </if>
        </where>
        ORDER BY inta.id DESC