shenyijian
2024-06-18 d1c97643c8ef372650b7426c468812dd06263100
skjcmanager/skjcmanager-service/skjcmanager-sm/src/main/java/cn/gistack/sm/sg/mapper/SgProgressReportMapper.xml
@@ -44,7 +44,7 @@
        <if test="dto.userId != null and dto.userId != ''">
            and userR.user_id = #{dto.userId}
        </if>
        <if test="dto.approvalStatus != null and dto.approvalStatus != ''">
        <if test="dto.approvalStatus != null">
            and userR.approval_status = #{dto.approvalStatus}
        </if>
    </select>
@@ -56,7 +56,7 @@
        <if test="dto.userId != null and dto.userId != ''">
            and userR.user_id = #{dto.userId}
        </if>
        <if test="dto.approvalStatus != null and dto.approvalStatus != ''">
        <if test="dto.approvalStatus != null ">
            and userR.approval_status = #{dto.approvalStatus}
        </if>
    </select>