|
@@ -120,7 +120,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
|
<select id="selectWcsTaskListVO" parameterType="WcsTask" resultMap="WcsTaskResult">
|
|
<select id="selectWcsTaskListVO" parameterType="WcsTask" resultMap="WcsTaskResult">
|
|
select t.task_no, t.business_type,bf.location_no location_from,fz.zone_name area_from,bt.location_no location_to,tz.zone_name area_to,
|
|
select t.task_no, t.business_type,bf.location_no location_from,fz.zone_name area_from,bt.location_no location_to,tz.zone_name area_to,
|
|
- t.state,t.create_date,t.task_type, t.start_time, t.end_time,t.remark
|
|
|
|
|
|
+ t.state,t.create_date,t.task_type, t.start_time, t.end_time,t.remark, t.ext1, t.ext2, t.ext3
|
|
from wcs_task t
|
|
from wcs_task t
|
|
left join base_location_info bf on t.location_from = bf.id
|
|
left join base_location_info bf on t.location_from = bf.id
|
|
left join base_location_info bt on t.location_to = bt.id
|
|
left join base_location_info bt on t.location_to = bt.id
|
|
@@ -133,6 +133,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="locationTo != null and locationTo != ''"> and bt.location_no like concat('%', #{locationTo}, '%')</if>
|
|
<if test="locationTo != null and locationTo != ''"> and bt.location_no like concat('%', #{locationTo}, '%')</if>
|
|
<if test="areaTo != null and areaTo != ''"> and t.area_to = #{areaTo}</if>
|
|
<if test="areaTo != null and areaTo != ''"> and t.area_to = #{areaTo}</if>
|
|
<if test="priority != null "> and t.priority = #{priority}</if>
|
|
<if test="priority != null "> and t.priority = #{priority}</if>
|
|
|
|
+ <if test="ext1 != null and ext1 != ''"> and ext1 = #{ext1}</if>
|
|
|
|
+ <if test="ext2 != null and ext2 != ''"> and ext2 = #{ext2}</if>
|
|
|
|
+ <if test="ext3 != null and ext3 != ''"> and ext3 = #{ext3}</if>
|
|
<if test="state != null "> and t.state = #{state}</if>
|
|
<if test="state != null "> and t.state = #{state}</if>
|
|
<if test="createUser != null and createUser != ''"> and t.create_user = #{createUser}</if>
|
|
<if test="createUser != null and createUser != ''"> and t.create_user = #{createUser}</if>
|
|
<!-- <if test="createDate != null "> and t.create_date = #{createDate}</if>-->
|
|
<!-- <if test="createDate != null "> and t.create_date = #{createDate}</if>-->
|