|
@@ -103,7 +103,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="unitIds != null and unitIds != ''">
|
|
<if test="unitIds != null and unitIds != ''">
|
|
and
|
|
and
|
|
(
|
|
(
|
|
- d.plant_code in
|
|
|
|
|
|
+ d.unit in
|
|
<foreach collection="unitIds.split(',')" item="item" index="index"
|
|
<foreach collection="unitIds.split(',')" item="item" index="index"
|
|
open="(" close=")" separator=",">
|
|
open="(" close=")" separator=",">
|
|
#{item}
|
|
#{item}
|
|
@@ -343,7 +343,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
#{plant}
|
|
#{plant}
|
|
</foreach>
|
|
</foreach>
|
|
<if test="unitIds.size() > 0">
|
|
<if test="unitIds.size() > 0">
|
|
- and t.PLANT_CODE in
|
|
|
|
|
|
+ and t.unit in
|
|
<foreach collection="unitIds" item="unitId" index="index"
|
|
<foreach collection="unitIds" item="unitId" index="index"
|
|
open="(" close=")" separator=",">
|
|
open="(" close=")" separator=",">
|
|
#{unitId}
|
|
#{unitId}
|