|
|
@ -40,9 +40,11 @@ |
|
|
from work_center |
|
|
from work_center |
|
|
<where> |
|
|
<where> |
|
|
active = 'Y' |
|
|
active = 'Y' |
|
|
and site = '1' |
|
|
|
|
|
|
|
|
<if test="data.site != null and data.site != ''"> |
|
|
|
|
|
and site = #{data.site} |
|
|
|
|
|
</if> |
|
|
<if test="data.workCenterNo != null and data.workCenterNo != ''"> |
|
|
<if test="data.workCenterNo != null and data.workCenterNo != ''"> |
|
|
and work_center_no = like concat('%', #{data.workCenterNo}, '%') |
|
|
|
|
|
|
|
|
and work_center_no like concat('%', #{data.workCenterNo}, '%') |
|
|
</if> |
|
|
</if> |
|
|
<if test="data.workCenterDesc != null and data.workCenterDesc != ''"> |
|
|
<if test="data.workCenterDesc != null and data.workCenterDesc != ''"> |
|
|
and work_center_desc like concat('%', #{data.workCenterDesc}, '%') |
|
|
and work_center_desc like concat('%', #{data.workCenterDesc}, '%') |
|
|
|