本地最新代码:同步所有修改及新增模块
This commit is contained in:
82
ruoyi-admin/src/main/resources/mapper/bas/AgvPointMapper.xml
Normal file
82
ruoyi-admin/src/main/resources/mapper/bas/AgvPointMapper.xml
Normal file
@@ -0,0 +1,82 @@
|
||||
<?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="com.ruoyi.bas.agvPoint.mapper.AgvPointMapper">
|
||||
|
||||
<resultMap type="AgvPoint" id="AgvPointResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="station" column="station" />
|
||||
<result property="type" column="type" />
|
||||
<result property="remark" column="remark" />
|
||||
<result property="spare1" column="spare1" />
|
||||
<result property="spare2" column="spare2" />
|
||||
<result property="spare3" column="spare3" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectAgvPointVo">
|
||||
select id, station, type, remark, spare1, spare2, spare3 from agv_point
|
||||
</sql>
|
||||
|
||||
<select id="selectAgvPointList" parameterType="AgvPoint" resultMap="AgvPointResult">
|
||||
<include refid="selectAgvPointVo"/>
|
||||
<where>
|
||||
<if test="station != null and station != ''"> and station like concat('%',#{station},'%') </if>
|
||||
<if test="type != null and type != ''"> and type = #{type}</if>
|
||||
<if test="spare1 != null and spare1 != ''"> and spare1 = #{spare1}</if>
|
||||
<if test="spare2 != null and spare2 != ''"> and spare2 = #{spare2}</if>
|
||||
<if test="spare3 != null and spare3 != ''"> and spare3 = #{spare3}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectAgvPointById" parameterType="String" resultMap="AgvPointResult">
|
||||
<include refid="selectAgvPointVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertAgvPoint" parameterType="AgvPoint">
|
||||
insert into agv_point
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">id,</if>
|
||||
<if test="station != null">station,</if>
|
||||
<if test="type != null">type,</if>
|
||||
<if test="remark != null">remark,</if>
|
||||
<if test="spare1 != null">spare1,</if>
|
||||
<if test="spare2 != null">spare2,</if>
|
||||
<if test="spare3 != null">spare3,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">#{id},</if>
|
||||
<if test="station != null">#{station},</if>
|
||||
<if test="type != null">#{type},</if>
|
||||
<if test="remark != null">#{remark},</if>
|
||||
<if test="spare1 != null">#{spare1},</if>
|
||||
<if test="spare2 != null">#{spare2},</if>
|
||||
<if test="spare3 != null">#{spare3},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateAgvPoint" parameterType="AgvPoint">
|
||||
update agv_point
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="station != null">station = #{station},</if>
|
||||
<if test="type != null">type = #{type},</if>
|
||||
<if test="remark != null">remark = #{remark},</if>
|
||||
<if test="spare1 != null">spare1 = #{spare1},</if>
|
||||
<if test="spare2 != null">spare2 = #{spare2},</if>
|
||||
<if test="spare3 != null">spare3 = #{spare3},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteAgvPointById" parameterType="String">
|
||||
delete from agv_point where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteAgvPointByIds" parameterType="String">
|
||||
delete from agv_point where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<?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">
|
||||
@@ -23,14 +23,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<select id="selectBasContainerDetailsList" parameterType="BasContainerDetails" resultMap="BasContainerDetailsResult">
|
||||
<include refid="selectBasContainerDetailsVo"/>
|
||||
<where>
|
||||
<if test="containerId != null and containerId != ''"> and container_id = #{containerId}</if>
|
||||
<if test="productId != null and productId != ''"> and product_id = #{productId}</if>
|
||||
<if test="containerId != null and containerId != ''"> and container_id like concat('%', #{containerId}, '%')</if>
|
||||
<if test="productId != null and productId != ''"> and product_id like concat('%', #{productId}, '%')</if>
|
||||
<if test="productName != null and productName != ''"> and product_name like concat('%', #{productName}, '%')</if>
|
||||
<if test="quantity != null "> and quantity = #{quantity}</if>
|
||||
<if test="unit != null and unit != ''"> and unit = #{unit}</if>
|
||||
<if test="spare1 != null and spare1 != ''"> and spare1 = #{spare1}</if>
|
||||
<if test="spare2 != null and spare2 != ''"> and spare2 = #{spare2}</if>
|
||||
<if test="spare3 != null and spare3 != ''"> and spare3 = #{spare3}</if>
|
||||
<if test="quantity != null "> and quantity like concat('%', #{quantity}, '%')</if>
|
||||
<if test="unit != null and unit != ''"> and unit like concat('%', #{unit}, '%')</if>
|
||||
<if test="spare1 != null and spare1 != ''"> and spare1 like concat('%', #{spare1}, '%')</if>
|
||||
<if test="spare2 != null and spare2 != ''"> and spare2 like concat('%', #{spare2}, '%')</if>
|
||||
<if test="spare3 != null and spare3 != ''"> and spare3 like concat('%', #{spare3}, '%')</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
@@ -90,4 +90,4 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
</mapper>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<?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">
|
||||
@@ -26,11 +26,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<include refid="selectBasContainerVo"/>
|
||||
<where>
|
||||
<if test="containerId != null and containerId != ''"> and container_id like concat('%', #{containerId}, '%')</if>
|
||||
<if test="portName != null and portName != ''"> and port_name = #{portName}</if>
|
||||
<if test="status != null "> and status = #{status}</if>
|
||||
<if test="productTypeQuantity != null "> and product_type_quantity = #{productTypeQuantity}</if>
|
||||
<if test="updateTime != null and updateTime != ''"> and update_time = #{updateTime}</if>
|
||||
<if test="operationMan != null and operationMan != ''"> and operation_man = #{operationMan}</if>
|
||||
<if test="portName != null and portName != ''"> and port_name like concat('%', #{portName}, '%')</if>
|
||||
<if test="status != null "> and status like concat('%', #{status}, '%')</if>
|
||||
<if test="productTypeQuantity != null "> and product_type_quantity like concat('%', #{productTypeQuantity}, '%')</if>
|
||||
<if test="updateTime != null and updateTime != ''"> and update_time like concat('%', #{updateTime}, '%')</if>
|
||||
<if test="operationMan != null and operationMan != ''"> and operation_man like concat('%', #{operationMan}, '%')</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
@@ -102,4 +102,4 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<select id="selectPortNames" resultType="string">
|
||||
SELECT DISTINCT port_name FROM bas_product_port WHERE port_name != null or port_name != ''
|
||||
</select>
|
||||
</mapper>
|
||||
</mapper>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<?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">
|
||||
@@ -39,7 +39,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="customerGroupNo != null and customerGroupNo != ''"> and customer_group_no like concat('%', #{customerGroupNo}, '%')</if>
|
||||
<if test="customerName != null and customerName != ''"> and customer_name like concat('%', #{customerName}, '%')</if>
|
||||
<if test="simpleName != null and simpleName != ''"> and simple_name like concat('%', #{simpleName}, '%')</if>
|
||||
<if test="useable != null and useable != ''"> and useable = #{useable}</if>
|
||||
<if test="useable != null and useable != ''"> and useable like concat('%', #{useable}, '%')</if>
|
||||
<if test="businessDepartment != null and businessDepartment != ''"> and business_department like concat('%', #{businessDepartment}, '%')</if>
|
||||
<if test="salesman != null and salesman != ''"> and salesman like concat('%', #{salesman}, '%')</if>
|
||||
<if test="mnemonicCode != null and mnemonicCode != ''"> and mnemonic_code like concat('%', #{mnemonicCode}, '%')</if>
|
||||
@@ -149,4 +149,4 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
</mapper>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<?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">
|
||||
@@ -34,25 +34,25 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<select id="selectBasJobIdList" parameterType="BasJobId" resultMap="BasJobIdResult">
|
||||
<include refid="selectBasJobIdVo"/>
|
||||
<where>
|
||||
<if test="type != null and type != ''"> and type = #{type}</if>
|
||||
<if test="jobId != null and jobId != ''"> and job_id = #{jobId}</if>
|
||||
<if test="jobDetail != null and jobDetail != ''"> and job_detail = #{jobDetail}</if>
|
||||
<if test="stockId != null and stockId != ''"> and stock_id = #{stockId}</if>
|
||||
<if test="orderId != null and orderId != ''"> and order_id = #{orderId}</if>
|
||||
<if test="exorderId != null and exorderId != ''"> and Exorder_id = #{exorderId}</if>
|
||||
<if test="jobIdR != null and jobIdR != ''"> and job_id_R = #{jobIdR}</if>
|
||||
<if test="jobDetailR != null and jobDetailR != ''"> and job_detail_R = #{jobDetailR}</if>
|
||||
<if test="jobIdC != null and jobIdC != ''"> and job_id_C = #{jobIdC}</if>
|
||||
<if test="jobDetailC != null and jobDetailC != ''"> and job_detail_C = #{jobDetailC}</if>
|
||||
<if test="tempOrderId != null and tempOrderId != ''"> and temp_order_id = #{tempOrderId}</if>
|
||||
<if test="lotNo != null and lotNo != ''"> and lot_no = #{lotNo}</if>
|
||||
<if test="stockinId != null and stockinId != ''"> and stockin_id = #{stockinId}</if>
|
||||
<if test="stockinDetailId != null and stockinDetailId != ''"> and stockin_detail_id = #{stockinDetailId}</if>
|
||||
<if test="stockoutId != null and stockoutId != ''"> and stockout_id = #{stockoutId}</if>
|
||||
<if test="stockoutDetailId != null and stockoutDetailId != ''"> and stockout_detail_id = #{stockoutDetailId}</if>
|
||||
<if test="planId != null and planId != ''"> and plan_id = #{planId}</if>
|
||||
<if test="jobIdY != null and jobIdY != ''"> and job_id_y = #{jobIdY}</if>
|
||||
<if test="jobIdS != null and jobIdS != ''"> and job_id_s = #{jobIdS}</if>
|
||||
<if test="type != null and type != ''"> and type like concat('%', #{type}, '%')</if>
|
||||
<if test="jobId != null and jobId != ''"> and job_id like concat('%', #{jobId}, '%')</if>
|
||||
<if test="jobDetail != null and jobDetail != ''"> and job_detail like concat('%', #{jobDetail}, '%')</if>
|
||||
<if test="stockId != null and stockId != ''"> and stock_id like concat('%', #{stockId}, '%')</if>
|
||||
<if test="orderId != null and orderId != ''"> and order_id like concat('%', #{orderId}, '%')</if>
|
||||
<if test="exorderId != null and exorderId != ''"> and Exorder_id like concat('%', #{exorderId}, '%')</if>
|
||||
<if test="jobIdR != null and jobIdR != ''"> and job_id_R like concat('%', #{jobIdR}, '%')</if>
|
||||
<if test="jobDetailR != null and jobDetailR != ''"> and job_detail_R like concat('%', #{jobDetailR}, '%')</if>
|
||||
<if test="jobIdC != null and jobIdC != ''"> and job_id_C like concat('%', #{jobIdC}, '%')</if>
|
||||
<if test="jobDetailC != null and jobDetailC != ''"> and job_detail_C like concat('%', #{jobDetailC}, '%')</if>
|
||||
<if test="tempOrderId != null and tempOrderId != ''"> and temp_order_id like concat('%', #{tempOrderId}, '%')</if>
|
||||
<if test="lotNo != null and lotNo != ''"> and lot_no like concat('%', #{lotNo}, '%')</if>
|
||||
<if test="stockinId != null and stockinId != ''"> and stockin_id like concat('%', #{stockinId}, '%')</if>
|
||||
<if test="stockinDetailId != null and stockinDetailId != ''"> and stockin_detail_id like concat('%', #{stockinDetailId}, '%')</if>
|
||||
<if test="stockoutId != null and stockoutId != ''"> and stockout_id like concat('%', #{stockoutId}, '%')</if>
|
||||
<if test="stockoutDetailId != null and stockoutDetailId != ''"> and stockout_detail_id like concat('%', #{stockoutDetailId}, '%')</if>
|
||||
<if test="planId != null and planId != ''"> and plan_id like concat('%', #{planId}, '%')</if>
|
||||
<if test="jobIdY != null and jobIdY != ''"> and job_id_y like concat('%', #{jobIdY}, '%')</if>
|
||||
<if test="jobIdS != null and jobIdS != ''"> and job_id_s like concat('%', #{jobIdS}, '%')</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
@@ -162,3 +162,4 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
|
||||
|
||||
65
ruoyi-admin/src/main/resources/mapper/bas/BasLedMapper.xml
Normal file
65
ruoyi-admin/src/main/resources/mapper/bas/BasLedMapper.xml
Normal file
@@ -0,0 +1,65 @@
|
||||
<?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="com.ruoyi.Dzp.mapper.BasLedMapper">
|
||||
|
||||
<resultMap type="basLed" id="basLedResult">
|
||||
<result property="id" column="id"/>
|
||||
<result property="product_id" column="product_id"/>
|
||||
<result property="spec" column="spec"/>
|
||||
<result property="sendFlag" column="send_flag"/>
|
||||
<result property="ipAddress" column="ip_address"/>
|
||||
<result property="quantity" column="quantity"/>
|
||||
<result property="trayCode" column="tray_code"/>
|
||||
<result property="model" column="model"/>
|
||||
<result property="productName" column="product_name"/>
|
||||
<result property="errorMsg" column="error_msg"/>
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectBasContainerVo">
|
||||
select id,
|
||||
product_id,
|
||||
spec,
|
||||
quantity,
|
||||
send_flag,
|
||||
ip_address,
|
||||
tray_code,
|
||||
model,
|
||||
product_name,
|
||||
error_msg
|
||||
|
||||
from bas_led
|
||||
</sql>
|
||||
|
||||
<select id="selectBasLedList" parameterType="basLed" resultMap="basLedResult">
|
||||
<include refid="selectBasContainerVo"/>
|
||||
<where>
|
||||
|
||||
<if test="sendFlag != null and sendFlag != ''">and send_flag = #{sendFlag}
|
||||
</if>
|
||||
<if test="id != null and id != ''">and id = #{id}
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<update id="updateBasLed" parameterType="basLed">
|
||||
update bas_led
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="product_id != null">product_id = #{product_id},</if>
|
||||
<if test="sendFlag != null">send_flag = #{sendFlag},</if>
|
||||
<if test="spec != null">spec = #{spec},</if>
|
||||
<if test="quantity != null">quantity = #{quantity},</if>
|
||||
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
|
||||
</mapper>
|
||||
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<?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">
|
||||
@@ -31,7 +31,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<select id="selectBasProductCodeList" parameterType="BasProductCode" resultMap="BasProductCodeResult">
|
||||
<include refid="selectBasProductCodeVo"/>
|
||||
<where>
|
||||
<if test="model != null and model != ''"> and model = #{model}</if>
|
||||
<if test="model != null and model != ''"> and model like concat('%', #{model}, '%')</if>
|
||||
<if test="color != null and color != ''"> and color like concat('%', #{color}, '%')</if>
|
||||
<if test="serial != null and serial != ''"> and serial like concat('%', #{serial}, '%')</if>
|
||||
<if test="v != null and v != ''"> and v like concat('%', #{v}, '%')</if>
|
||||
@@ -39,13 +39,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="ph != null and ph != ''"> and ph like concat('%', #{ph}, '%')</if>
|
||||
<if test="nW != null and nW != ''"> and n_w like concat('%', #{nW}, '%')</if>
|
||||
<if test="gW != null and gW != ''"> and g_w like concat('%', #{gW}, '%')</if>
|
||||
<if test="type != null and type != ''"> and type = #{type}</if>
|
||||
<if test="spare1 != null and spare1 != ''"> and spare1 = #{spare1}</if>
|
||||
<if test="spare2 != null and spare2 != ''"> and spare2 = #{spare2}</if>
|
||||
<if test="spare3 != null and spare3 != ''"> and spare3 = #{spare3}</if>
|
||||
<if test="spare4 != null and spare4 != ''"> and spare4 = #{spare4}</if>
|
||||
<if test="spare5 != null and spare5 != ''"> and spare5 = #{spare5}</if>
|
||||
<if test="spare6 != null and spare6 != ''"> and spare6 = #{spare6}</if>
|
||||
<if test="type != null and type != ''"> and type like concat('%', #{type}, '%')</if>
|
||||
<if test="spare1 != null and spare1 != ''"> and spare1 like concat('%', #{spare1}, '%')</if>
|
||||
<if test="spare2 != null and spare2 != ''"> and spare2 like concat('%', #{spare2}, '%')</if>
|
||||
<if test="spare3 != null and spare3 != ''"> and spare3 like concat('%', #{spare3}, '%')</if>
|
||||
<if test="spare4 != null and spare4 != ''"> and spare4 like concat('%', #{spare4}, '%')</if>
|
||||
<if test="spare5 != null and spare5 != ''"> and spare5 like concat('%', #{spare5}, '%')</if>
|
||||
<if test="spare6 != null and spare6 != ''"> and spare6 like concat('%', #{spare6}, '%')</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
@@ -129,4 +129,4 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
</mapper>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<?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">
|
||||
@@ -21,9 +21,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<include refid="selectBasProductPortVo"/>
|
||||
<where>
|
||||
<if test="portName != null and portName != ''"> and port_name like concat('%', #{portName}, '%')</if>
|
||||
<if test="portType != null and portType != ''"> and port_type = #{portType}</if>
|
||||
<if test="portDesc != null and portDesc != ''"> and port_desc = #{portDesc}</if>
|
||||
<if test="createMan != null and createMan != ''"> and create_man = #{createMan}</if>
|
||||
<if test="portType != null and portType != ''"> and port_type like concat('%', #{portType}, '%')</if>
|
||||
<if test="portDesc != null and portDesc != ''"> and port_desc like concat('%', #{portDesc}, '%')</if>
|
||||
<if test="createMan != null and createMan != ''"> and create_man like concat('%', #{createMan}, '%')</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
@@ -74,4 +74,4 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
</mapper>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<?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">
|
||||
@@ -43,9 +43,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<select id="selectBasProductPortRelList" parameterType="BasProductPortRel" resultMap="BasProductPortRelResult">
|
||||
<include refid="selectBasProductPortRelVo"/>
|
||||
<where>
|
||||
<if test="productGuid != null and productGuid != ''"> and product_guid = #{productGuid}</if>
|
||||
<if test="productId != null and productId != ''"> and product_id = #{productId}</if>
|
||||
<if test="portId != null and portId != ''"> and port_id = #{portId}</if>
|
||||
<if test="productGuid != null and productGuid != ''"> and product_guid like concat('%', #{productGuid}, '%')</if>
|
||||
<if test="productId != null and productId != ''"> and product_id like concat('%', #{productId}, '%')</if>
|
||||
<if test="portId != null and portId != ''"> and port_id like concat('%', #{portId}, '%')</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
@@ -63,7 +63,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="bindStatus =='0'.toString()">
|
||||
and product_id not in (select product_id from bas_product_port_rel where port_id=#{portId})
|
||||
</if>
|
||||
<if test="productId != null and productId != ''"> and product_id = #{productId}</if>
|
||||
<if test="productId != null and productId != ''"> and product_id like concat('%', #{productId}, '%')</if>
|
||||
<if test="productName != null and productName != ''"> and product_name like concat('%', #{productName}, '%')</if>
|
||||
</where>
|
||||
|
||||
@@ -112,3 +112,4 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<?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">
|
||||
@@ -23,14 +23,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<select id="selectBasRoadwayList" parameterType="BasRoadway" resultMap="BasRoadwayResult">
|
||||
<include refid="selectBasRoadwayVo"/>
|
||||
<where>
|
||||
<if test="roadwayId != null and roadwayId != ''"> and roadway_id = #{roadwayId}</if>
|
||||
<if test="warehouseId != null and warehouseId != ''"> and warehouse_id = #{warehouseId}</if>
|
||||
<if test="roadwayId != null and roadwayId != ''"> and roadway_id like concat('%', #{roadwayId}, '%')</if>
|
||||
<if test="warehouseId != null and warehouseId != ''"> and warehouse_id like concat('%', #{warehouseId}, '%')</if>
|
||||
<if test="roadwayName != null and roadwayName != ''"> and roadway_name like concat('%', #{roadwayName}, '%')</if>
|
||||
<if test="deviceId != null and deviceId != ''"> and device_id = #{deviceId}</if>
|
||||
<if test="inLocked != null and inLocked != ''"> and in_locked = #{inLocked}</if>
|
||||
<if test="outLocked != null and outLocked != ''"> and out_locked = #{outLocked}</if>
|
||||
<if test="inLocked2 != null and inLocked2 != ''"> and in_locked2 = #{inLocked2}</if>
|
||||
<if test="outLocked2 != null and outLocked2 != ''"> and out_locked2 = #{outLocked2}</if>
|
||||
<if test="deviceId != null and deviceId != ''"> and device_id like concat('%', #{deviceId}, '%')</if>
|
||||
<if test="inLocked != null and inLocked != ''"> and in_locked like concat('%', #{inLocked}, '%')</if>
|
||||
<if test="outLocked != null and outLocked != ''"> and out_locked like concat('%', #{outLocked}, '%')</if>
|
||||
<if test="inLocked2 != null and inLocked2 != ''"> and in_locked2 like concat('%', #{inLocked2}, '%')</if>
|
||||
<if test="outLocked2 != null and outLocked2 != ''"> and out_locked2 like concat('%', #{outLocked2}, '%')</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
@@ -90,4 +90,4 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
</mapper>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<?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">
|
||||
@@ -37,7 +37,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="supplierGroupNo != null and supplierGroupNo != ''"> and supplier_group_no like concat('%', #{supplierGroupNo}, '%')</if>
|
||||
<if test="supplierName != null and supplierName != ''"> and supplier_name like concat('%', #{supplierName}, '%')</if>
|
||||
<if test="simpleName != null and simpleName != ''"> and simple_name like concat('%', #{simpleName}, '%')</if>
|
||||
<if test="useable != null and useable != ''"> and useable = #{useable}</if>
|
||||
<if test="useable != null and useable != ''"> and useable like concat('%', #{useable}, '%')</if>
|
||||
<if test="supplierArae != null and supplierArae != ''"> and supplier_arae like concat('%', #{supplierArae}, '%')</if>
|
||||
<if test="taxpayerRegistrationNumber != null and taxpayerRegistrationNumber != ''"> and taxpayer_registration_number like concat('%', #{taxpayerRegistrationNumber}, '%')</if>
|
||||
<if test="country != null and country != ''"> and country like concat('%', #{country}, '%')</if>
|
||||
@@ -139,4 +139,4 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
</mapper>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<?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">
|
||||
@@ -23,14 +23,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<select id="selectBasTagList" parameterType="BasTag" resultMap="BasTagResult">
|
||||
<include refid="selectBasTagVo"/>
|
||||
<where>
|
||||
<if test="ip != null and ip != ''"> and ip = #{ip}</if>
|
||||
<if test="pickAdd != null and pickAdd != ''"> and pick_add = #{pickAdd}</if>
|
||||
<if test="trayCode != null and trayCode != ''"> and tray_code = #{trayCode}</if>
|
||||
<if test="curNum != null and curNum != ''"> and cur_num = #{curNum}</if>
|
||||
<if test="sendCompleted != null and sendCompleted != ''"> and send_completed = #{sendCompleted}</if>
|
||||
<if test="spare1 != null and spare1 != ''"> and spare1 = #{spare1}</if>
|
||||
<if test="spare2 != null and spare2 != ''"> and spare2 = #{spare2}</if>
|
||||
<if test="spare3 != null and spare3 != ''"> and spare3 = #{spare3}</if>
|
||||
<if test="ip != null and ip != ''"> and ip like concat('%', #{ip}, '%')</if>
|
||||
<if test="pickAdd != null and pickAdd != ''"> and pick_add like concat('%', #{pickAdd}, '%')</if>
|
||||
<if test="trayCode != null and trayCode != ''"> and tray_code like concat('%', #{trayCode}, '%')</if>
|
||||
<if test="curNum != null and curNum != ''"> and cur_num like concat('%', #{curNum}, '%')</if>
|
||||
<if test="sendCompleted != null and sendCompleted != ''"> and send_completed like concat('%', #{sendCompleted}, '%')</if>
|
||||
<if test="spare1 != null and spare1 != ''"> and spare1 like concat('%', #{spare1}, '%')</if>
|
||||
<if test="spare2 != null and spare2 != ''"> and spare2 like concat('%', #{spare2}, '%')</if>
|
||||
<if test="spare3 != null and spare3 != ''"> and spare3 like concat('%', #{spare3}, '%')</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
@@ -93,3 +93,4 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<?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">
|
||||
@@ -32,9 +32,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="remarks != null and remarks != ''"> and remarks like concat('%',#{remarks}, '%')</if>
|
||||
<if test="minNum != null "> and min_num like concat('%',#{minNum}, '%')</if>
|
||||
<if test="maxNum != null "> and max_num like concat('%',#{maxNum}, '%')</if>
|
||||
<if test="spare1 != null and spare1 != ''"> and spare1 = #{spare1}</if>
|
||||
<if test="spare2 != null and spare2 != ''"> and spare2 = #{spare2}</if>
|
||||
<if test="spare3 != null and spare3 != ''"> and spare3 = #{spare3}</if>
|
||||
<if test="spare1 != null and spare1 != ''"> and spare1 like concat('%', #{spare1}, '%')</if>
|
||||
<if test="spare2 != null and spare2 != ''"> and spare2 like concat('%', #{spare2}, '%')</if>
|
||||
<if test="spare3 != null and spare3 != ''"> and spare3 like concat('%', #{spare3}, '%')</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
@@ -103,4 +103,4 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
</mapper>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<?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">
|
||||
@@ -26,11 +26,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<select id="selectBasTraycodeList" parameterType="BasTraycode" resultMap="BasTraycodeResult">
|
||||
<include refid="selectBasTraycodeVo"/>
|
||||
<where>
|
||||
<if test="formatId != null "> and bt.format_id = #{formatId}</if>
|
||||
<if test="formatId != null "> and bt.format_id like concat('%', #{formatId}, '%')</if>
|
||||
<if test="trayCode != null and trayCode != ''"> and bt.tray_code like concat('%',#{trayCode}, '%')</if>
|
||||
<if test="spare1 != null and spare1 != ''"> and bt.spare1 = #{spare1}</if>
|
||||
<if test="spare2 != null and spare2 != ''"> and bt.spare2 = #{spare2}</if>
|
||||
<if test="spare3 != null and spare3 != ''"> and bt.spare3 = #{spare3}</if>
|
||||
<if test="spare1 != null and spare1 != ''"> and bt.spare1 like concat('%', #{spare1}, '%')</if>
|
||||
<if test="spare2 != null and spare2 != ''"> and bt.spare2 like concat('%', #{spare2}, '%')</if>
|
||||
<if test="spare3 != null and spare3 != ''"> and bt.spare3 like concat('%', #{spare3}, '%')</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
@@ -98,3 +98,4 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<?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">
|
||||
@@ -19,10 +19,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<select id="selectBasWarehousePortList" parameterType="BasWarehousePort" resultMap="BasWarehousePortResult">
|
||||
<include refid="selectBasWarehousePortVo"/>
|
||||
<where>
|
||||
<if test="warehouseId != null and warehouseId != ''"> and warehouse_id = #{warehouseId}</if>
|
||||
<if test="portCode != null and portCode != ''"> and port_code = #{portCode}</if>
|
||||
<if test="warehouseId != null and warehouseId != ''"> and warehouse_id like concat('%', #{warehouseId}, '%')</if>
|
||||
<if test="portCode != null and portCode != ''"> and port_code like concat('%', #{portCode}, '%')</if>
|
||||
<if test="portName != null and portName != ''"> and port_name like concat('%', #{portName}, '%')</if>
|
||||
<if test="portType != null and portType != ''"> and port_type = #{portType}</if>
|
||||
<if test="portType != null and portType != ''"> and port_type like concat('%', #{portType}, '%')</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
@@ -70,4 +70,4 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
</mapper>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<?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">
|
||||
@@ -63,24 +63,24 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<include refid="selectBasCargoSpaceVo"/>
|
||||
<where>
|
||||
<if test="cargoSpaceId != null and cargoSpaceId != ''"> and bcs.cargo_space_id like concat('%', #{cargoSpaceId}, '%')</if>
|
||||
<if test="warehouseId != null and warehouseId != ''"> and bcs.warehouse_id = #{warehouseId}</if>
|
||||
<if test="roadwayId != null and roadwayId != ''"> and bcs.roadway_id = #{roadwayId}</if>
|
||||
<if test="cargoAreaId != null and cargoAreaId != ''"> and bcs.cargo_area_id = #{cargoAreaId}</if>
|
||||
<if test="theType != null and theType != ''"> and bcs.the_type = #{theType}</if>
|
||||
<if test="warehouseId != null and warehouseId != ''"> and bcs.warehouse_id like concat('%', #{warehouseId}, '%')</if>
|
||||
<if test="roadwayId != null and roadwayId != ''"> and bcs.roadway_id like concat('%', #{roadwayId}, '%')</if>
|
||||
<if test="cargoAreaId != null and cargoAreaId != ''"> and bcs.cargo_area_id like concat('%', #{cargoAreaId}, '%')</if>
|
||||
<if test="theType != null and theType != ''"> and bcs.the_type like concat('%', #{theType}, '%')</if>
|
||||
<if test="theTypeName != null and theTypeName != ''"> and bcs.the_type_name like concat('%', #{theTypeName}, '%')</if>
|
||||
<if test="cargoSpaceName != null and cargoSpaceName != ''"> and bcs.cargo_space_name like concat('%', #{cargoSpaceName}, '%')</if>
|
||||
<if test="thePlatoon != null "> and bcs.the_platoon = #{thePlatoon}</if>
|
||||
<if test="theColumn != null "> and bcs.the_column = #{theColumn}</if>
|
||||
<if test="theFloor != null "> and bcs.the_floor = #{theFloor}</if>
|
||||
<if test="status != null and status != ''"> and bcs.status = #{status}</if>
|
||||
<if test="locked != null and locked != ''"> and bcs.locked = #{locked}</if>
|
||||
<if test="thePlatoon != null "> and bcs.the_platoon like concat('%', #{thePlatoon}, '%')</if>
|
||||
<if test="theColumn != null "> and bcs.the_column like concat('%', #{theColumn}, '%')</if>
|
||||
<if test="theFloor != null "> and bcs.the_floor like concat('%', #{theFloor}, '%')</if>
|
||||
<if test="status != null and status != ''"> and bcs.status like concat('%', #{status}, '%')</if>
|
||||
<if test="locked != null and locked != ''"> and bcs.locked like concat('%', #{locked}, '%')</if>
|
||||
<if test="trayCode != null and trayCode != ''"> and bcs.tray_code like concat('%', #{trayCode}, '%')</if>
|
||||
<if test="cargoHight != null and cargoHight != ''"> and bcs.cargo_hight = #{cargoHight}</if>
|
||||
<if test="issDouble != null and issDouble != ''"> and bcs.iss_double = #{issDouble}</if>
|
||||
<if test="groupCodingNo != null and groupCodingNo != ''"> and bcs.group_coding_no = #{groupCodingNo}</if>
|
||||
<if test="groupCoding != null and groupCoding != ''"> and bcs.group_coding = #{groupCoding}</if>
|
||||
<if test="cargoSpaceLogo != null and cargoSpaceLogo != ''"> and bcs.cargo_space_logo = #{cargoSpaceLogo}</if>
|
||||
<if test="thisCargoArea != null and thisCargoArea != ''"> and bcs.this_cargo_area = #{thisCargoArea}</if>
|
||||
<if test="cargoHight != null and cargoHight != ''"> and bcs.cargo_hight like concat('%', #{cargoHight}, '%')</if>
|
||||
<if test="issDouble != null and issDouble != ''"> and bcs.iss_double like concat('%', #{issDouble}, '%')</if>
|
||||
<if test="groupCodingNo != null and groupCodingNo != ''"> and bcs.group_coding_no like concat('%', #{groupCodingNo}, '%')</if>
|
||||
<if test="groupCoding != null and groupCoding != ''"> and bcs.group_coding like concat('%', #{groupCoding}, '%')</if>
|
||||
<if test="cargoSpaceLogo != null and cargoSpaceLogo != ''"> and bcs.cargo_space_logo like concat('%', #{cargoSpaceLogo}, '%')</if>
|
||||
<if test="thisCargoArea != null and thisCargoArea != ''"> and bcs.this_cargo_area like concat('%', #{thisCargoArea}, '%')</if>
|
||||
<if test="params.warehouseDataScope != null and params.warehouseDataScope !=''">
|
||||
${params.warehouseDataScope}
|
||||
</if>
|
||||
@@ -188,10 +188,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
WHERE status = '1'
|
||||
and locked = 'N'
|
||||
<if test="warehouseId != null">
|
||||
and warehouse_id = #{warehouseId}
|
||||
and warehouse_id like concat('%', #{warehouseId}, '%')
|
||||
</if>
|
||||
<if test="roadwayId != null">
|
||||
and roadway_id = #{roadwayId}
|
||||
and roadway_id like concat('%', #{roadwayId}, '%')
|
||||
</if>
|
||||
ORDER BY the_platoon, the_floor,the_column
|
||||
</select>
|
||||
@@ -202,13 +202,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
bcs.the_platoon,
|
||||
bcs.the_column,
|
||||
bcs.the_floor,
|
||||
bcs.status,
|
||||
bs.tray_code,
|
||||
bs.product_id,
|
||||
bs.product_name
|
||||
bcs.status
|
||||
from bas_cargo_space bcs
|
||||
left join bas_stock bs on bcs.cargo_space_id = bs.cargo_space_id
|
||||
where bcs.status in ('1', '2')
|
||||
where bcs.status in ( '2')
|
||||
</select>
|
||||
<select id="selectBasCargoSpaceListByRoadway" parameterType="BasCargoSpace" resultMap="BasCargoSpaceResult">
|
||||
select bcs.cargo_space_id, bcs.warehouse_id, bcs.roadway_id, bcs.cargo_space_name,
|
||||
@@ -219,18 +215,19 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
and br.roadway_id = bcs.roadway_id
|
||||
and bp.product_id = bs.product_id
|
||||
and br.out_locked = 'N'
|
||||
<if test="warehouseId != null and warehouseId != ''"> and bcs.warehouse_id = #{warehouseId}</if>
|
||||
<if test="roadwayId != null and roadwayId != ''"> and bcs.roadway_id = #{roadwayId}</if>
|
||||
<if test="warehouseId != null and warehouseId != ''"> and bcs.warehouse_id like concat('%', #{warehouseId}, '%')</if>
|
||||
<if test="roadwayId != null and roadwayId != ''"> and bcs.roadway_id like concat('%', #{roadwayId}, '%')</if>
|
||||
<if test="cargoSpaceName != null and cargoSpaceName != ''"> and bcs.cargo_space_name like concat('%', #{cargoSpaceName}, '%')</if>
|
||||
<if test="thePlatoon != null "> and bcs.the_platoon = #{thePlatoon}</if>
|
||||
<if test="theColumn != null "> and bcs.the_column = #{theColumn}</if>
|
||||
<if test="theFloor != null "> and bcs.the_floor = #{theFloor}</if>
|
||||
<if test="status != null and status != ''"> and bcs.status = #{status}</if>
|
||||
<if test="locked != null and locked != ''"> and bcs.locked = #{locked}</if>
|
||||
<if test="thePlatoon != null "> and bcs.the_platoon like concat('%', #{thePlatoon}, '%')</if>
|
||||
<if test="theColumn != null "> and bcs.the_column like concat('%', #{theColumn}, '%')</if>
|
||||
<if test="theFloor != null "> and bcs.the_floor like concat('%', #{theFloor}, '%')</if>
|
||||
<if test="status != null and status != ''"> and bcs.status like concat('%', #{status}, '%')</if>
|
||||
<if test="locked != null and locked != ''"> and bcs.locked like concat('%', #{locked}, '%')</if>
|
||||
<if test="trayCode != null and trayCode != ''"> and bs.tray_code like concat('%', #{trayCode}, '%')</if>
|
||||
<if test="spare7 != null and spare7 != ''"> and bs.spare7 = #{spare7}</if>
|
||||
<if test="spare7 != null and spare7 != ''"> and bs.spare7 like concat('%', #{spare7}, '%')</if>
|
||||
<if test="spare6 != null and spare6 != ''"> and bs.spare6 like concat('%', #{spare6}, '%')</if>
|
||||
<if test="productId != null and productId != ''"> and bs.product_id like concat('%', #{productId}, '%')</if>
|
||||
<if test="productName != null and productName != ''"> and bp.product_name like concat('%', #{productName}, '%')</if>
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<?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">
|
||||
@@ -29,11 +29,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="warehouseName != null and warehouseName != ''">and warehouse_name like concat('%',
|
||||
#{warehouseName}, '%')
|
||||
</if>
|
||||
<if test="address != null and address != ''">and address = #{address}</if>
|
||||
<if test="cDesc != null and cDesc != ''">and c_desc = #{cDesc}</if>
|
||||
<if test="warehouseKind != null and warehouseKind != ''">and warehouse_kind = #{warehouseKind}</if>
|
||||
<if test="warehouseType != null and warehouseType != ''">and warehouse_type = #{warehouseType}</if>
|
||||
<if test="isCurrent != null and isCurrent != ''">and is_current = #{isCurrent}</if>
|
||||
<if test="address != null and address != ''">and address like concat('%', #{address}, '%')</if>
|
||||
<if test="cDesc != null and cDesc != ''">and c_desc like concat('%', #{cDesc}, '%')</if>
|
||||
<if test="warehouseKind != null and warehouseKind != ''">and warehouse_kind like concat('%', #{warehouseKind}, '%')</if>
|
||||
<if test="warehouseType != null and warehouseType != ''">and warehouse_type like concat('%', #{warehouseType}, '%')</if>
|
||||
<if test="isCurrent != null and isCurrent != ''">and is_current like concat('%', #{isCurrent}, '%')</if>
|
||||
<if test="dataScope !=null and dataScope.size()>0">
|
||||
and warehouse_id in
|
||||
<foreach item="item" index="index" collection="dataScope" open="(" separator="," close=")">
|
||||
@@ -111,3 +111,4 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
|
||||
|
||||
</mapper>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user