吉安感知网项目-后端
linwei
4 hours ago 08ddfad4530a014094c06fe68b8c2d9a0753403a
drone-service/drone-gd/src/main/java/org/sxkj/gd/workorder/mapper/GdWorkOrderFlowMapper.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="org.sxkj.gd.workOrder.mapper.GdWorkOrderFlowMapper">
<mapper namespace="org.sxkj.gd.workorder.mapper.GdWorkOrderFlowMapper">
    <!-- 通用查询映射结果 -->
    <resultMap id="gdWorkOrderFlowResultMap" type="org.sxkj.gd.workorder.entity.GdWorkOrderFlowEntity">
@@ -22,7 +22,15 @@
    <select id="selectGdWorkOrderFlowPage" resultMap="gdWorkOrderFlowResultMap">
        select * from ja_gd_work_order_flow where is_deleted = 0
        select * from ja_gd_work_order_flow
        <where>
            <if test="param2.type != null and param2.type != ''">
                and type = #{param2.type}
            </if>
            <if test="param2.workOrderId != null and param2.workOrderId != ''">
              and workOrderId  = #{param2.workOrderId}
            </if>
        </where>
    </select>