ERP报工接口测试

Leon 4 years ago
parent ce7ed6f618
commit 561d0f686f

@ -8,7 +8,7 @@ spring:
driver-class-name: com.sap.db.jdbc.Driver driver-class-name: com.sap.db.jdbc.Driver
jndi-name: jdbc/jts/wipPool jndi-name: jdbc/jts/wipPool
activemq: activemq:
enabled: true enabled: false
brokerUrl: tcp://121.36.58.109:61616?wireFormat.maxInactivityDuration=0 brokerUrl: tcp://121.36.58.109:61616?wireFormat.maxInactivityDuration=0
password: admin password: admin
user: admin user: admin

@ -1,5 +1,10 @@
package com.foreverwin.mesnac.dispatch.controller; package com.foreverwin.mesnac.dispatch.controller;
import com.foreverwin.mesnac.common.erp.ZprodordconfStruIn;
import com.foreverwin.mesnac.common.erp.ZprodordconfStruOut;
import com.foreverwin.mesnac.common.erp.holders.TableOfZprodordconfStruInHolder;
import com.foreverwin.mesnac.common.erp.holders.TableOfZprodordconfStruOutHolder;
import com.foreverwin.mesnac.common.util.ERPAPI;
import com.foreverwin.modular.core.util.R; import com.foreverwin.modular.core.util.R;
import com.foreverwin.modular.core.util.FrontPage; import com.foreverwin.modular.core.util.FrontPage;
import com.foreverwin.modular.core.util.CommonMethods; import com.foreverwin.modular.core.util.CommonMethods;
@ -11,6 +16,8 @@ import org.springframework.web.bind.annotation.*;
import com.foreverwin.mesnac.dispatch.service.ItemBatchService; import com.foreverwin.mesnac.dispatch.service.ItemBatchService;
import com.foreverwin.mesnac.dispatch.model.ItemBatch; import com.foreverwin.mesnac.dispatch.model.ItemBatch;
import java.math.BigDecimal;
import java.util.List; import java.util.List;
/** /**
@ -25,103 +32,56 @@ public class ItemBatchController {
@Autowired @Autowired
public ItemBatchService itemBatchService; public ItemBatchService itemBatchService;
/** @GetMapping("/testErpJK")
* id public R testErpJK (String shopOrder, String stepId) {
*
* @param id
* @return
*/
@ResponseBody
@GetMapping("/{id:.+}")
public R getItemBatchById(@PathVariable String id) {
return R.ok( itemBatchService.getById(id));
}
/** try {
* //请求参数
* ZprodordconfStruIn[] ins = new ZprodordconfStruIn[1];
* @return
*/
@ResponseBody
@GetMapping("")
public R getItemBatchList(ItemBatch itemBatch){
List<ItemBatch> result;
QueryWrapper<ItemBatch> queryWrapper = new QueryWrapper<>();
queryWrapper.setEntity(itemBatch);
result = itemBatchService.list(queryWrapper);
return R.ok(result);
}
/** ZprodordconfStruIn struIn = new ZprodordconfStruIn();
* //生产订单
* struIn.setAufnr(shopOrder);
* @param frontPage //步骤标示
* @return struIn.setVornr(stepId);
*/ struIn.setAueru("1");
@ResponseBody //良品数量
@GetMapping("/page") struIn.setLmnga(new BigDecimal(10));
public R page(FrontPage<ItemBatch> frontPage, ItemBatch itemBatch){ //报废数量
IPage result; struIn.setXmnga(new BigDecimal(1));
QueryWrapper<ItemBatch> queryWrapper = new QueryWrapper<>(); //机器工时
queryWrapper.setEntity(itemBatch); struIn.setIsm01(new BigDecimal(1));
if (frontPage.getGlobalQuery() != null && !"".equals(frontPage.getGlobalQuery().trim())) { //人工工时
//TODO modify global query struIn.setIsm02(new BigDecimal(1));
queryWrapper.lambda().and(wrapper -> wrapper struIn.setIsm03(new BigDecimal(1));
.like(ItemBatch::getHandle, frontPage.getGlobalQuery()) struIn.setIsm04(new BigDecimal(1));
.or().like(ItemBatch::getSite, frontPage.getGlobalQuery()) struIn.setIsm05(new BigDecimal(1));
.or().like(ItemBatch::getFactory, frontPage.getGlobalQuery()) struIn.setIsm06(new BigDecimal(1));
.or().like(ItemBatch::getItem, frontPage.getGlobalQuery()) ins[0] = struIn;
.or().like(ItemBatch::getBatch, frontPage.getGlobalQuery()) TableOfZprodordconfStruInHolder inHolder = new TableOfZprodordconfStruInHolder(ins);
.or().like(ItemBatch::getSupplier, frontPage.getGlobalQuery())
.or().like(ItemBatch::getLabel, frontPage.getGlobalQuery())
.or().like(ItemBatch::getIsPrint, frontPage.getGlobalQuery())
.or().like(ItemBatch::getCreateUser, frontPage.getGlobalQuery())
.or().like(ItemBatch::getModifyUser, frontPage.getGlobalQuery())
);
}
result = itemBatchService.page(frontPage.getPagePlus(), queryWrapper);
return R.ok(result);
}
/** //返回对象
* ZprodordconfStruOut[] outs = new ZprodordconfStruOut[1];
* @param itemBatch
* @return null
*/
@PostMapping
public R save(@RequestBody ItemBatch itemBatch) {
return R.ok(itemBatchService.save(itemBatch));
}
/** ZprodordconfStruOut struOut = new ZprodordconfStruOut();
* struOut.setAufnr(shopOrder);
* @param itemBatch struOut.setVornr(stepId);
* @return null struOut.setAueru("1");
*/ struOut.setLmnga(new BigDecimal(1));
@PutMapping struOut.setRet("");
public R updateById(@RequestBody ItemBatch itemBatch) { struOut.setMsg("");
return R.ok(itemBatchService.updateById(itemBatch)); outs[0] = struOut;
} TableOfZprodordconfStruOutHolder outHolder = new TableOfZprodordconfStruOutHolder(outs);
/** //调用WS
* id ERPAPI.erpWebService().zmesProdordconf(inHolder, outHolder);
* @param id ID //状态: S|成功, E|失败
* @return 0 1 String status = outHolder.value[1].getRet();
*/ String message = outHolder.value[1].getMsg();
@ResponseBody
@RequestMapping(method = RequestMethod.DELETE, value = "/{id:.+}")
public R removeById(@PathVariable("id") String id){
return R.ok(itemBatchService.removeById(id));
}
/** return R.failed("ERP接口返回状态:" + status + ",消息:" + message);
* } catch (Exception e) {
* @param ids ID return R.ok(e.getMessage());
* @return 0 1 }
*/
@ResponseBody
@RequestMapping(method = RequestMethod.POST, value = "/delete-batch")
public R removeByIds(List<String> ids){
return R.ok(itemBatchService.removeByIds(ids));
} }
} }

@ -63,7 +63,7 @@ public class SfcDispatchController {
*/ */
@ResponseBody @ResponseBody
@GetMapping("getSfcDispatch") @GetMapping("getSfcDispatch")
public R getSfcDispatch(String workCenter, String dispatchStatus, String item, String workOrder, String shopOrder, public R getSfcDispatch(String workCenter, String dispatchStatus, String item, String itemNumber, String workOrder, String shopOrder,
String resrce, String resourceType, String operation, String sfc, String componentDescription, String turnOperation, String resrce, String resourceType, String operation, String sfc, String componentDescription, String turnOperation,
String isDispatch, String startFromDate_S, String startToDate_S, String completeFromDate_S, String completeToDate_S) { String isDispatch, String startFromDate_S, String startToDate_S, String completeFromDate_S, String completeToDate_S) {
List<ShopOrderRelease> list; List<ShopOrderRelease> list;
@ -73,6 +73,7 @@ public class SfcDispatchController {
shopOrderRelease.setWorkCenter(workCenter); shopOrderRelease.setWorkCenter(workCenter);
shopOrderRelease.setDispatchStatus(dispatchStatus); shopOrderRelease.setDispatchStatus(dispatchStatus);
shopOrderRelease.setItem(item); shopOrderRelease.setItem(item);
shopOrderRelease.setItemNumber(itemNumber);
shopOrderRelease.setWorkOrder(workOrder); shopOrderRelease.setWorkOrder(workOrder);
shopOrderRelease.setShopOrder(shopOrder); shopOrderRelease.setShopOrder(shopOrder);
shopOrderRelease.setResrce(resrce); shopOrderRelease.setResrce(resrce);

@ -52,7 +52,7 @@ public class SurplusItemReturnController {
@ResponseBody @ResponseBody
@GetMapping("/surplusReturn") @GetMapping("/surplusReturn")
public R surplusReturn(String inventory, String length, String width, String qty) { public R surplusReturn(String inventory, String length, String width, String numbers, String qty) {
try { try {
if (StringUtil.isBlank(inventory)) { if (StringUtil.isBlank(inventory)) {
throw BusinessException.build("物料条码不能为空!"); throw BusinessException.build("物料条码不能为空!");
@ -66,7 +66,7 @@ public class SurplusItemReturnController {
String site = CommonMethods.getSite(); String site = CommonMethods.getSite();
String user = CommonMethods.getUser(); String user = CommonMethods.getUser();
surplusItemReturnService.surplusReturn(site, user, inventory, length, width, new BigDecimal(qty)); surplusItemReturnService.surplusReturn(site, user, inventory, length, width, new BigDecimal(numbers), new BigDecimal(qty));
} catch (Exception e) { } catch (Exception e) {
return R.failed(e.getMessage()); return R.failed(e.getMessage());
} }

@ -13,11 +13,12 @@ import java.util.Map;
* </p> * </p>
* *
* @author Leon.L * @author Leon.L
* @since 2021-07-10 * @since 2021-07-15
*/ */
@Repository @Repository
public interface SurplusItemReturnMapper extends BaseMapper<SurplusItemReturn> { public interface SurplusItemReturnMapper extends BaseMapper<SurplusItemReturn> {
/** /**
* *
* *

@ -1,10 +1,6 @@
package com.foreverwin.mesnac.dispatch.model; package com.foreverwin.mesnac.dispatch.model;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.foreverwin.mesnac.common.model.ExcelColumn;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.time.LocalDateTime; import java.time.LocalDateTime;
import java.util.Date; import java.util.Date;
@ -49,6 +45,10 @@ public class ShopOrderRelease extends SfcDispatch {
* - * -
*/ */
private String comments; private String comments;
/**
* -
*/
private String itemNumber;
/** /**
* - * -
*/ */
@ -166,6 +166,14 @@ public class ShopOrderRelease extends SfcDispatch {
this.comments = comments; this.comments = comments;
} }
public String getItemNumber() {
return itemNumber;
}
public void setItemNumber(String itemNumber) {
this.itemNumber = itemNumber;
}
public String getWorkOrder() { public String getWorkOrder() {
return workOrder; return workOrder;
} }

@ -18,7 +18,7 @@ import com.baomidou.mybatisplus.annotation.IdType;
* </p> * </p>
* *
* @author Leon.L * @author Leon.L
* @since 2021-07-10 * @since 2021-07-15
*/ */
@TableName("Z_SURPLUS_ITEM_RETURN") @TableName("Z_SURPLUS_ITEM_RETURN")
@ -61,6 +61,11 @@ public class SurplusItemReturn extends Model<SurplusItemReturn> {
*/ */
@TableField("WIDTH") @TableField("WIDTH")
private String width; private String width;
/**
*
*/
@TableField("NUMBERS")
private BigDecimal numbers;
/** /**
* *
*/ */
@ -79,8 +84,8 @@ public class SurplusItemReturn extends Model<SurplusItemReturn> {
/** /**
* *
*/ */
@TableField("MODIFU_USER") @TableField("MODIFY_USER")
private String modifuUser; private String modifyUser;
/** /**
* *
*/ */
@ -144,6 +149,14 @@ public class SurplusItemReturn extends Model<SurplusItemReturn> {
this.width = width; this.width = width;
} }
public BigDecimal getNumbers() {
return numbers;
}
public void setNumbers(BigDecimal numbers) {
this.numbers = numbers;
}
public BigDecimal getQty() { public BigDecimal getQty() {
return qty; return qty;
} }
@ -168,12 +181,12 @@ public class SurplusItemReturn extends Model<SurplusItemReturn> {
this.createdDateTime = createdDateTime; this.createdDateTime = createdDateTime;
} }
public String getModifuUser() { public String getModifyUser() {
return modifuUser; return modifyUser;
} }
public void setModifuUser(String modifuUser) { public void setModifyUser(String modifyUser) {
this.modifuUser = modifuUser; this.modifyUser = modifyUser;
} }
public LocalDateTime getModifiedDateTime() { public LocalDateTime getModifiedDateTime() {
@ -184,29 +197,31 @@ public class SurplusItemReturn extends Model<SurplusItemReturn> {
this.modifiedDateTime = modifiedDateTime; this.modifiedDateTime = modifiedDateTime;
} }
public static final String HANDLE = "HANDLE"; public static final String HANDLE = "HANDLE";
public static final String SITE = "SITE";
public static final String SITE = "SITE"; public static final String INVENTORY = "INVENTORY";
public static final String INVENTORY = "INVENTORY"; public static final String PARENT_INVENTORY = "PARENT_INVENTORY";
public static final String PARENT_INVENTORY = "PARENT_INVENTORY"; public static final String ITEM_BO = "ITEM_BO";
public static final String ITEM_BO = "ITEM_BO"; public static final String LENGHT = "LENGHT";
public static final String LENGHT = "LENGHT"; public static final String WIDTH = "WIDTH";
public static final String WIDTH = "WIDTH"; public static final String NUMBERS = "NUMBERS";
public static final String QTY = "QTY"; public static final String QTY = "QTY";
public static final String CREATE_USER = "CREATE_USER"; public static final String CREATE_USER = "CREATE_USER";
public static final String CREATED_DATE_TIME = "CREATED_DATE_TIME"; public static final String CREATED_DATE_TIME = "CREATED_DATE_TIME";
public static final String MODIFU_USER = "MODIFU_USER"; public static final String MODIFY_USER = "MODIFY_USER";
public static final String MODIFIED_DATE_TIME = "MODIFIED_DATE_TIME"; public static final String MODIFIED_DATE_TIME = "MODIFIED_DATE_TIME";
@Override @Override
@ -224,10 +239,11 @@ public static final String MODIFIED_DATE_TIME = "MODIFIED_DATE_TIME";
", itemBo = " + itemBo + ", itemBo = " + itemBo +
", lenght = " + lenght + ", lenght = " + lenght +
", width = " + width + ", width = " + width +
", numbers = " + numbers +
", qty = " + qty + ", qty = " + qty +
", createUser = " + createUser + ", createUser = " + createUser +
", createdDateTime = " + createdDateTime + ", createdDateTime = " + createdDateTime +
", modifuUser = " + modifuUser + ", modifyUser = " + modifyUser +
", modifiedDateTime = " + modifiedDateTime + ", modifiedDateTime = " + modifiedDateTime +
"}"; "}";
} }

@ -36,7 +36,8 @@ public interface SurplusItemReturnService extends IService<SurplusItemReturn> {
* @param inventory * @param inventory
* @param length * @param length
* @param width * @param width
* @param numbers
* @param qty * @param qty
*/ */
void surplusReturn(String site, String user, String inventory, String length, String width, BigDecimal qty); void surplusReturn(String site, String user, String inventory, String length, String width, BigDecimal numbers, BigDecimal qty);
} }

@ -82,7 +82,7 @@ public class SurplusItemReturnServiceImpl extends ServiceImpl<SurplusItemReturnM
} }
@Override @Override
public void surplusReturn(String site, String user, String inventory, String length, String width, BigDecimal qty) { public void surplusReturn(String site, String user, String inventory, String length, String width, BigDecimal numbers, BigDecimal qty) {
String inventoryBo = HandleEnum.INVENTORY.getHandle(site, inventory); String inventoryBo = HandleEnum.INVENTORY.getHandle(site, inventory);
Inventory inventoryModel = inventoryService.getById(inventoryBo); Inventory inventoryModel = inventoryService.getById(inventoryBo);
if (inventoryModel == null) { if (inventoryModel == null) {
@ -144,10 +144,11 @@ public class SurplusItemReturnServiceImpl extends ServiceImpl<SurplusItemReturnM
surplusItemReturn.setLenght(length); surplusItemReturn.setLenght(length);
surplusItemReturn.setWidth(width); surplusItemReturn.setWidth(width);
surplusItemReturn.setItemBo(inventoryModel.getItemBo()); surplusItemReturn.setItemBo(inventoryModel.getItemBo());
surplusItemReturn.setNumbers(numbers);
surplusItemReturn.setQty(qty); surplusItemReturn.setQty(qty);
surplusItemReturn.setCreateUser(user); surplusItemReturn.setCreateUser(user);
surplusItemReturn.setCreatedDateTime(dateTime); surplusItemReturn.setCreatedDateTime(dateTime);
surplusItemReturn.setModifuUser(user); surplusItemReturn.setModifyUser(user);
surplusItemReturn.setModifiedDateTime(dateTime); surplusItemReturn.setModifiedDateTime(dateTime);
surplusItemReturnMapper.insert(surplusItemReturn); surplusItemReturnMapper.insert(surplusItemReturn);
} }

@ -998,7 +998,7 @@
WHEN WIP.DISPATCH_STATUS = 'PAUSE' THEN N'暂停' WHEN WIP.DISPATCH_STATUS = 'RELEASE' THEN N'发布' WHEN WIP.DISPATCH_STATUS = 'PAUSE' THEN N'暂停' WHEN WIP.DISPATCH_STATUS = 'RELEASE' THEN N'发布'
END AS STATUS_NAME END AS STATUS_NAME
FROM ( FROM (
SELECT DISTINCT SD.HANDLE, SD.SITE, SD.SHOP_ORDER, SD.DISPATCH_NO, C1.VALUE WORK_ORDER, IM.HANDLE ITEM_BO, IM.ITEM, IT.DESCRIPTION ITEM_DESCRIPTION, SD.SFC, SD.DISPATCH_STATUS, SELECT DISTINCT SD.HANDLE, SD.SITE, SD.SHOP_ORDER, SD.DISPATCH_NO, C2.VALUE ITEM_NUMBER, C1.VALUE WORK_ORDER, IM.HANDLE ITEM_BO, IM.ITEM, IT.DESCRIPTION ITEM_DESCRIPTION, SD.SFC, SD.DISPATCH_STATUS,
SD.STEP_ID, SD.OPERATION, OT.DESCRIPTION OPERATION_DESCRIPTION, SD.RESOURCE_TYPE, SD.RESRCE, SD.EMPLOYEE, SD.EMPLOYEE USER_NAME, SD.DISPATCH_QTY, SD.PROD_HOURS, SD.STEP_ID, SD.OPERATION, OT.DESCRIPTION OPERATION_DESCRIPTION, SD.RESOURCE_TYPE, SD.RESRCE, SD.EMPLOYEE, SD.EMPLOYEE USER_NAME, SD.DISPATCH_QTY, SD.PROD_HOURS,
CASE WHEN OTHER_1 = 'true' THEN SD.DISPATCH_QTY ELSE 0 END COMPLETED_QTY, SD.PLANNED_START_DATE, SD.PLANNED_COMP_DATE, SD.WORK_CENTER, SD.IS_DISPATCH, CASE WHEN OTHER_1 = 'true' THEN SD.DISPATCH_QTY ELSE 0 END COMPLETED_QTY, SD.PLANNED_START_DATE, SD.PLANNED_COMP_DATE, SD.WORK_CENTER, SD.IS_DISPATCH,
SD.ACTUAL_START_DATE, SD.ACTUAL_COMPLETE_DATE, SD.REMARK, SD.DISPATCH_SEQ, SD.DISPATCH_SEQ-1 BEFORE_SEQ, SD.DISPATCH_SEQ+1 AFTER_SEQ, SD.ACTUAL_START_DATE, SD.ACTUAL_COMPLETE_DATE, SD.REMARK, SD.DISPATCH_SEQ, SD.DISPATCH_SEQ-1 BEFORE_SEQ, SD.DISPATCH_SEQ+1 AFTER_SEQ,
@ -1007,6 +1007,7 @@
FROM Z_SFC_DISPATCH SD FROM Z_SFC_DISPATCH SD
INNER JOIN SHOP_ORDER SO ON SO.SITE = SD.SITE AND SO.SHOP_ORDER = SD.SHOP_ORDER INNER JOIN SHOP_ORDER SO ON SO.SITE = SD.SITE AND SO.SHOP_ORDER = SD.SHOP_ORDER
LEFT JOIN CUSTOM_FIELDS C1 ON C1.HANDLE = SO.HANDLE AND C1."ATTRIBUTE" = 'WORK_ORDER' LEFT JOIN CUSTOM_FIELDS C1 ON C1.HANDLE = SO.HANDLE AND C1."ATTRIBUTE" = 'WORK_ORDER'
LEFT JOIN CUSTOM_FIELDS C2 ON C2.HANDLE = SO.HANDLE AND C2."ATTRIBUTE" = 'ITEM_NUMBER'
INNER JOIN ITEM IM ON IM.HANDLE = SO.ITEM_BO INNER JOIN ITEM IM ON IM.HANDLE = SO.ITEM_BO
LEFT JOIN ITEM_T IT ON IT.ITEM_BO = IM.HANDLE AND IT.LOCALE = 'zh' LEFT JOIN ITEM_T IT ON IT.ITEM_BO = IM.HANDLE AND IT.LOCALE = 'zh'
INNER JOIN OPERATION O ON O.SITE = SD.SITE AND O.OPERATION = SD.OPERATION AND O.CURRENT_REVISION = 'true' INNER JOIN OPERATION O ON O.SITE = SD.SITE AND O.OPERATION = SD.OPERATION AND O.CURRENT_REVISION = 'true'
@ -1027,6 +1028,9 @@
<if test="workOrder != null and workOrder != ''"> <if test="workOrder != null and workOrder != ''">
AND C1.VALUE LIKE '%' ||#{workOrder}|| '%' AND C1.VALUE LIKE '%' ||#{workOrder}|| '%'
</if> </if>
<if test="itemNumber != null and itemNumber != ''">
AND C2.VALUE LIKE '%' ||#{itemNumber}|| '%'
</if>
<if test="shopOrder != null and shopOrder != ''"> <if test="shopOrder != null and shopOrder != ''">
AND SD.SHOP_ORDER = #{shopOrder} AND SD.SHOP_ORDER = #{shopOrder}
</if> </if>

@ -11,16 +11,17 @@
<result column="ITEM_BO" property="itemBo" /> <result column="ITEM_BO" property="itemBo" />
<result column="LENGHT" property="lenght" /> <result column="LENGHT" property="lenght" />
<result column="WIDTH" property="width" /> <result column="WIDTH" property="width" />
<result column="NUMBERS" property="numbers" />
<result column="QTY" property="qty" /> <result column="QTY" property="qty" />
<result column="CREATE_USER" property="createUser" /> <result column="CREATE_USER" property="createUser" />
<result column="CREATED_DATE_TIME" property="createdDateTime" /> <result column="CREATED_DATE_TIME" property="createdDateTime" />
<result column="MODIFU_USER" property="modifuUser" /> <result column="MODIFY_USER" property="modifyUser" />
<result column="MODIFIED_DATE_TIME" property="modifiedDateTime" /> <result column="MODIFIED_DATE_TIME" property="modifiedDateTime" />
</resultMap> </resultMap>
<!-- 通用查询结果列 --> <!-- 通用查询结果列 -->
<sql id="Base_Column_List"> <sql id="Base_Column_List">
HANDLE, SITE, INVENTORY, PARENT_INVENTORY, ITEM_BO, LENGHT, WIDTH, QTY, CREATE_USER, CREATED_DATE_TIME, MODIFU_USER, MODIFIED_DATE_TIME HANDLE, SITE, INVENTORY, PARENT_INVENTORY, ITEM_BO, LENGHT, WIDTH, NUMBERS, QTY, CREATE_USER, CREATED_DATE_TIME, MODIFY_USER, MODIFIED_DATE_TIME
</sql> </sql>
<!-- BaseMapper标准查询/修改/删除 --> <!-- BaseMapper标准查询/修改/删除 -->
@ -61,10 +62,11 @@
<if test="ew.entity.itemBo!=null"> AND ITEM_BO=#{ew.entity.itemBo}</if> <if test="ew.entity.itemBo!=null"> AND ITEM_BO=#{ew.entity.itemBo}</if>
<if test="ew.entity.lenght!=null"> AND LENGHT=#{ew.entity.lenght}</if> <if test="ew.entity.lenght!=null"> AND LENGHT=#{ew.entity.lenght}</if>
<if test="ew.entity.width!=null"> AND WIDTH=#{ew.entity.width}</if> <if test="ew.entity.width!=null"> AND WIDTH=#{ew.entity.width}</if>
<if test="ew.entity.numbers!=null"> AND NUMBERS=#{ew.entity.numbers}</if>
<if test="ew.entity.qty!=null"> AND QTY=#{ew.entity.qty}</if> <if test="ew.entity.qty!=null"> AND QTY=#{ew.entity.qty}</if>
<if test="ew.entity.createUser!=null"> AND CREATE_USER=#{ew.entity.createUser}</if> <if test="ew.entity.createUser!=null"> AND CREATE_USER=#{ew.entity.createUser}</if>
<if test="ew.entity.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if> <if test="ew.entity.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if>
<if test="ew.entity.modifuUser!=null"> AND MODIFU_USER=#{ew.entity.modifuUser}</if> <if test="ew.entity.modifyUser!=null"> AND MODIFY_USER=#{ew.entity.modifyUser}</if>
<if test="ew.entity.modifiedDateTime!=null"> AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}</if> <if test="ew.entity.modifiedDateTime!=null"> AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}</if>
</where> </where>
</select> </select>
@ -83,10 +85,11 @@
<if test="ew.entity.itemBo!=null"> AND ITEM_BO=#{ew.entity.itemBo}</if> <if test="ew.entity.itemBo!=null"> AND ITEM_BO=#{ew.entity.itemBo}</if>
<if test="ew.entity.lenght!=null"> AND LENGHT=#{ew.entity.lenght}</if> <if test="ew.entity.lenght!=null"> AND LENGHT=#{ew.entity.lenght}</if>
<if test="ew.entity.width!=null"> AND WIDTH=#{ew.entity.width}</if> <if test="ew.entity.width!=null"> AND WIDTH=#{ew.entity.width}</if>
<if test="ew.entity.numbers!=null"> AND NUMBERS=#{ew.entity.numbers}</if>
<if test="ew.entity.qty!=null"> AND QTY=#{ew.entity.qty}</if> <if test="ew.entity.qty!=null"> AND QTY=#{ew.entity.qty}</if>
<if test="ew.entity.createUser!=null"> AND CREATE_USER=#{ew.entity.createUser}</if> <if test="ew.entity.createUser!=null"> AND CREATE_USER=#{ew.entity.createUser}</if>
<if test="ew.entity.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if> <if test="ew.entity.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if>
<if test="ew.entity.modifuUser!=null"> AND MODIFU_USER=#{ew.entity.modifuUser}</if> <if test="ew.entity.modifyUser!=null"> AND MODIFY_USER=#{ew.entity.modifyUser}</if>
<if test="ew.entity.modifiedDateTime!=null"> AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}</if> <if test="ew.entity.modifiedDateTime!=null"> AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}</if>
</if> </if>
<if test="ew!=null and ew.sqlSegment!=null and ew.nonEmptyOfWhere"> <if test="ew!=null and ew.sqlSegment!=null and ew.nonEmptyOfWhere">
@ -113,10 +116,11 @@
<if test="ew.entity.itemBo!=null"> AND ITEM_BO=#{ew.entity.itemBo}</if> <if test="ew.entity.itemBo!=null"> AND ITEM_BO=#{ew.entity.itemBo}</if>
<if test="ew.entity.lenght!=null"> AND LENGHT=#{ew.entity.lenght}</if> <if test="ew.entity.lenght!=null"> AND LENGHT=#{ew.entity.lenght}</if>
<if test="ew.entity.width!=null"> AND WIDTH=#{ew.entity.width}</if> <if test="ew.entity.width!=null"> AND WIDTH=#{ew.entity.width}</if>
<if test="ew.entity.numbers!=null"> AND NUMBERS=#{ew.entity.numbers}</if>
<if test="ew.entity.qty!=null"> AND QTY=#{ew.entity.qty}</if> <if test="ew.entity.qty!=null"> AND QTY=#{ew.entity.qty}</if>
<if test="ew.entity.createUser!=null"> AND CREATE_USER=#{ew.entity.createUser}</if> <if test="ew.entity.createUser!=null"> AND CREATE_USER=#{ew.entity.createUser}</if>
<if test="ew.entity.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if> <if test="ew.entity.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if>
<if test="ew.entity.modifuUser!=null"> AND MODIFU_USER=#{ew.entity.modifuUser}</if> <if test="ew.entity.modifyUser!=null"> AND MODIFY_USER=#{ew.entity.modifyUser}</if>
<if test="ew.entity.modifiedDateTime!=null"> AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}</if> <if test="ew.entity.modifiedDateTime!=null"> AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}</if>
</if> </if>
<if test="ew!=null and ew.sqlSegment!=null and ew.nonEmptyOfWhere"> <if test="ew!=null and ew.sqlSegment!=null and ew.nonEmptyOfWhere">
@ -143,10 +147,11 @@
<if test="ew.entity.itemBo!=null"> AND ITEM_BO=#{ew.entity.itemBo}</if> <if test="ew.entity.itemBo!=null"> AND ITEM_BO=#{ew.entity.itemBo}</if>
<if test="ew.entity.lenght!=null"> AND LENGHT=#{ew.entity.lenght}</if> <if test="ew.entity.lenght!=null"> AND LENGHT=#{ew.entity.lenght}</if>
<if test="ew.entity.width!=null"> AND WIDTH=#{ew.entity.width}</if> <if test="ew.entity.width!=null"> AND WIDTH=#{ew.entity.width}</if>
<if test="ew.entity.numbers!=null"> AND NUMBERS=#{ew.entity.numbers}</if>
<if test="ew.entity.qty!=null"> AND QTY=#{ew.entity.qty}</if> <if test="ew.entity.qty!=null"> AND QTY=#{ew.entity.qty}</if>
<if test="ew.entity.createUser!=null"> AND CREATE_USER=#{ew.entity.createUser}</if> <if test="ew.entity.createUser!=null"> AND CREATE_USER=#{ew.entity.createUser}</if>
<if test="ew.entity.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if> <if test="ew.entity.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if>
<if test="ew.entity.modifuUser!=null"> AND MODIFU_USER=#{ew.entity.modifuUser}</if> <if test="ew.entity.modifyUser!=null"> AND MODIFY_USER=#{ew.entity.modifyUser}</if>
<if test="ew.entity.modifiedDateTime!=null"> AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}</if> <if test="ew.entity.modifiedDateTime!=null"> AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}</if>
</if> </if>
<if test="ew!=null and ew.sqlSegment!=null and ew.nonEmptyOfWhere"> <if test="ew!=null and ew.sqlSegment!=null and ew.nonEmptyOfWhere">
@ -173,10 +178,11 @@
<if test="ew.entity.itemBo!=null"> AND ITEM_BO=#{ew.entity.itemBo}</if> <if test="ew.entity.itemBo!=null"> AND ITEM_BO=#{ew.entity.itemBo}</if>
<if test="ew.entity.lenght!=null"> AND LENGHT=#{ew.entity.lenght}</if> <if test="ew.entity.lenght!=null"> AND LENGHT=#{ew.entity.lenght}</if>
<if test="ew.entity.width!=null"> AND WIDTH=#{ew.entity.width}</if> <if test="ew.entity.width!=null"> AND WIDTH=#{ew.entity.width}</if>
<if test="ew.entity.numbers!=null"> AND NUMBERS=#{ew.entity.numbers}</if>
<if test="ew.entity.qty!=null"> AND QTY=#{ew.entity.qty}</if> <if test="ew.entity.qty!=null"> AND QTY=#{ew.entity.qty}</if>
<if test="ew.entity.createUser!=null"> AND CREATE_USER=#{ew.entity.createUser}</if> <if test="ew.entity.createUser!=null"> AND CREATE_USER=#{ew.entity.createUser}</if>
<if test="ew.entity.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if> <if test="ew.entity.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if>
<if test="ew.entity.modifuUser!=null"> AND MODIFU_USER=#{ew.entity.modifuUser}</if> <if test="ew.entity.modifyUser!=null"> AND MODIFY_USER=#{ew.entity.modifyUser}</if>
<if test="ew.entity.modifiedDateTime!=null"> AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}</if> <if test="ew.entity.modifiedDateTime!=null"> AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}</if>
</if> </if>
<if test="ew!=null and ew.sqlSegment!=null and ew.nonEmptyOfWhere"> <if test="ew!=null and ew.sqlSegment!=null and ew.nonEmptyOfWhere">
@ -203,10 +209,11 @@
<if test="ew.entity.itemBo!=null"> AND ITEM_BO=#{ew.entity.itemBo}</if> <if test="ew.entity.itemBo!=null"> AND ITEM_BO=#{ew.entity.itemBo}</if>
<if test="ew.entity.lenght!=null"> AND LENGHT=#{ew.entity.lenght}</if> <if test="ew.entity.lenght!=null"> AND LENGHT=#{ew.entity.lenght}</if>
<if test="ew.entity.width!=null"> AND WIDTH=#{ew.entity.width}</if> <if test="ew.entity.width!=null"> AND WIDTH=#{ew.entity.width}</if>
<if test="ew.entity.numbers!=null"> AND NUMBERS=#{ew.entity.numbers}</if>
<if test="ew.entity.qty!=null"> AND QTY=#{ew.entity.qty}</if> <if test="ew.entity.qty!=null"> AND QTY=#{ew.entity.qty}</if>
<if test="ew.entity.createUser!=null"> AND CREATE_USER=#{ew.entity.createUser}</if> <if test="ew.entity.createUser!=null"> AND CREATE_USER=#{ew.entity.createUser}</if>
<if test="ew.entity.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if> <if test="ew.entity.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if>
<if test="ew.entity.modifuUser!=null"> AND MODIFU_USER=#{ew.entity.modifuUser}</if> <if test="ew.entity.modifyUser!=null"> AND MODIFY_USER=#{ew.entity.modifyUser}</if>
<if test="ew.entity.modifiedDateTime!=null"> AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}</if> <if test="ew.entity.modifiedDateTime!=null"> AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}</if>
</if> </if>
<if test="ew!=null and ew.sqlSegment!=null and ew.nonEmptyOfWhere"> <if test="ew!=null and ew.sqlSegment!=null and ew.nonEmptyOfWhere">
@ -233,10 +240,11 @@
<if test="ew.entity.itemBo!=null"> AND ITEM_BO=#{ew.entity.itemBo}</if> <if test="ew.entity.itemBo!=null"> AND ITEM_BO=#{ew.entity.itemBo}</if>
<if test="ew.entity.lenght!=null"> AND LENGHT=#{ew.entity.lenght}</if> <if test="ew.entity.lenght!=null"> AND LENGHT=#{ew.entity.lenght}</if>
<if test="ew.entity.width!=null"> AND WIDTH=#{ew.entity.width}</if> <if test="ew.entity.width!=null"> AND WIDTH=#{ew.entity.width}</if>
<if test="ew.entity.numbers!=null"> AND NUMBERS=#{ew.entity.numbers}</if>
<if test="ew.entity.qty!=null"> AND QTY=#{ew.entity.qty}</if> <if test="ew.entity.qty!=null"> AND QTY=#{ew.entity.qty}</if>
<if test="ew.entity.createUser!=null"> AND CREATE_USER=#{ew.entity.createUser}</if> <if test="ew.entity.createUser!=null"> AND CREATE_USER=#{ew.entity.createUser}</if>
<if test="ew.entity.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if> <if test="ew.entity.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if>
<if test="ew.entity.modifuUser!=null"> AND MODIFU_USER=#{ew.entity.modifuUser}</if> <if test="ew.entity.modifyUser!=null"> AND MODIFY_USER=#{ew.entity.modifyUser}</if>
<if test="ew.entity.modifiedDateTime!=null"> AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}</if> <if test="ew.entity.modifiedDateTime!=null"> AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}</if>
</if> </if>
<if test="ew!=null and ew.sqlSegment!=null and ew.nonEmptyOfWhere"> <if test="ew!=null and ew.sqlSegment!=null and ew.nonEmptyOfWhere">
@ -259,10 +267,11 @@
<if test="itemBo!=null">ITEM_BO,</if> <if test="itemBo!=null">ITEM_BO,</if>
<if test="lenght!=null">LENGHT,</if> <if test="lenght!=null">LENGHT,</if>
<if test="width!=null">WIDTH,</if> <if test="width!=null">WIDTH,</if>
<if test="numbers!=null">NUMBERS,</if>
<if test="qty!=null">QTY,</if> <if test="qty!=null">QTY,</if>
<if test="createUser!=null">CREATE_USER,</if> <if test="createUser!=null">CREATE_USER,</if>
<if test="createdDateTime!=null">CREATED_DATE_TIME,</if> <if test="createdDateTime!=null">CREATED_DATE_TIME,</if>
<if test="modifuUser!=null">MODIFU_USER,</if> <if test="modifyUser!=null">MODIFY_USER,</if>
<if test="modifiedDateTime!=null">MODIFIED_DATE_TIME,</if> <if test="modifiedDateTime!=null">MODIFIED_DATE_TIME,</if>
</trim> VALUES </trim> VALUES
<trim prefix="(" suffix=")" suffixOverrides=","> <trim prefix="(" suffix=")" suffixOverrides=",">
@ -273,10 +282,11 @@
<if test="itemBo!=null">#{itemBo},</if> <if test="itemBo!=null">#{itemBo},</if>
<if test="lenght!=null">#{lenght},</if> <if test="lenght!=null">#{lenght},</if>
<if test="width!=null">#{width},</if> <if test="width!=null">#{width},</if>
<if test="numbers!=null">#{numbers},</if>
<if test="qty!=null">#{qty},</if> <if test="qty!=null">#{qty},</if>
<if test="createUser!=null">#{createUser},</if> <if test="createUser!=null">#{createUser},</if>
<if test="createdDateTime!=null">#{createdDateTime},</if> <if test="createdDateTime!=null">#{createdDateTime},</if>
<if test="modifuUser!=null">#{modifuUser},</if> <if test="modifyUser!=null">#{modifyUser},</if>
<if test="modifiedDateTime!=null">#{modifiedDateTime},</if> <if test="modifiedDateTime!=null">#{modifiedDateTime},</if>
</trim> </trim>
</insert> </insert>
@ -294,10 +304,11 @@
#{itemBo}, #{itemBo},
#{lenght}, #{lenght},
#{width}, #{width},
#{numbers},
#{qty}, #{qty},
#{createUser}, #{createUser},
#{createdDateTime}, #{createdDateTime},
#{modifuUser}, #{modifyUser},
#{modifiedDateTime}, #{modifiedDateTime},
</trim> </trim>
</insert> </insert>
@ -311,10 +322,11 @@
<if test="et.itemBo!=null">ITEM_BO=#{et.itemBo},</if> <if test="et.itemBo!=null">ITEM_BO=#{et.itemBo},</if>
<if test="et.lenght!=null">LENGHT=#{et.lenght},</if> <if test="et.lenght!=null">LENGHT=#{et.lenght},</if>
<if test="et.width!=null">WIDTH=#{et.width},</if> <if test="et.width!=null">WIDTH=#{et.width},</if>
<if test="et.numbers!=null">NUMBERS=#{et.numbers},</if>
<if test="et.qty!=null">QTY=#{et.qty},</if> <if test="et.qty!=null">QTY=#{et.qty},</if>
<if test="et.createUser!=null">CREATE_USER=#{et.createUser},</if> <if test="et.createUser!=null">CREATE_USER=#{et.createUser},</if>
<if test="et.createdDateTime!=null">CREATED_DATE_TIME=#{et.createdDateTime},</if> <if test="et.createdDateTime!=null">CREATED_DATE_TIME=#{et.createdDateTime},</if>
<if test="et.modifuUser!=null">MODIFU_USER=#{et.modifuUser},</if> <if test="et.modifyUser!=null">MODIFY_USER=#{et.modifyUser},</if>
<if test="et.modifiedDateTime!=null">MODIFIED_DATE_TIME=#{et.modifiedDateTime},</if> <if test="et.modifiedDateTime!=null">MODIFIED_DATE_TIME=#{et.modifiedDateTime},</if>
</trim> WHERE HANDLE=#{et.handle} <if test="et instanceof java.util.Map"><if test="et.MP_OPTLOCK_VERSION_ORIGINAL!=null">and ${et.MP_OPTLOCK_VERSION_COLUMN}=#{et.MP_OPTLOCK_VERSION_ORIGINAL}</if></if> </trim> WHERE HANDLE=#{et.handle} <if test="et instanceof java.util.Map"><if test="et.MP_OPTLOCK_VERSION_ORIGINAL!=null">and ${et.MP_OPTLOCK_VERSION_COLUMN}=#{et.MP_OPTLOCK_VERSION_ORIGINAL}</if></if>
</update> </update>
@ -328,10 +340,11 @@
ITEM_BO=#{et.itemBo}, ITEM_BO=#{et.itemBo},
LENGHT=#{et.lenght}, LENGHT=#{et.lenght},
WIDTH=#{et.width}, WIDTH=#{et.width},
NUMBERS=#{et.numbers},
QTY=#{et.qty}, QTY=#{et.qty},
CREATE_USER=#{et.createUser}, CREATE_USER=#{et.createUser},
CREATED_DATE_TIME=#{et.createdDateTime}, CREATED_DATE_TIME=#{et.createdDateTime},
MODIFU_USER=#{et.modifuUser}, MODIFY_USER=#{et.modifyUser},
MODIFIED_DATE_TIME=#{et.modifiedDateTime}, MODIFIED_DATE_TIME=#{et.modifiedDateTime},
</trim> WHERE HANDLE=#{et.handle} <if test="et instanceof java.util.Map"><if test="et.MP_OPTLOCK_VERSION_ORIGINAL!=null">and ${et.MP_OPTLOCK_VERSION_COLUMN}=#{et.MP_OPTLOCK_VERSION_ORIGINAL}</if></if> </trim> WHERE HANDLE=#{et.handle} <if test="et instanceof java.util.Map"><if test="et.MP_OPTLOCK_VERSION_ORIGINAL!=null">and ${et.MP_OPTLOCK_VERSION_COLUMN}=#{et.MP_OPTLOCK_VERSION_ORIGINAL}</if></if>
</update> </update>
@ -345,10 +358,11 @@
<if test="et.itemBo!=null">ITEM_BO=#{et.itemBo},</if> <if test="et.itemBo!=null">ITEM_BO=#{et.itemBo},</if>
<if test="et.lenght!=null">LENGHT=#{et.lenght},</if> <if test="et.lenght!=null">LENGHT=#{et.lenght},</if>
<if test="et.width!=null">WIDTH=#{et.width},</if> <if test="et.width!=null">WIDTH=#{et.width},</if>
<if test="et.numbers!=null">NUMBERS=#{et.numbers},</if>
<if test="et.qty!=null">QTY=#{et.qty},</if> <if test="et.qty!=null">QTY=#{et.qty},</if>
<if test="et.createUser!=null">CREATE_USER=#{et.createUser},</if> <if test="et.createUser!=null">CREATE_USER=#{et.createUser},</if>
<if test="et.createdDateTime!=null">CREATED_DATE_TIME=#{et.createdDateTime},</if> <if test="et.createdDateTime!=null">CREATED_DATE_TIME=#{et.createdDateTime},</if>
<if test="et.modifuUser!=null">MODIFU_USER=#{et.modifuUser},</if> <if test="et.modifyUser!=null">MODIFY_USER=#{et.modifyUser},</if>
<if test="et.modifiedDateTime!=null">MODIFIED_DATE_TIME=#{et.modifiedDateTime},</if> <if test="et.modifiedDateTime!=null">MODIFIED_DATE_TIME=#{et.modifiedDateTime},</if>
</trim> </trim>
<where> <where>
@ -361,10 +375,11 @@
<if test="ew.entity.itemBo!=null"> AND ITEM_BO=#{ew.entity.itemBo}</if> <if test="ew.entity.itemBo!=null"> AND ITEM_BO=#{ew.entity.itemBo}</if>
<if test="ew.entity.lenght!=null"> AND LENGHT=#{ew.entity.lenght}</if> <if test="ew.entity.lenght!=null"> AND LENGHT=#{ew.entity.lenght}</if>
<if test="ew.entity.width!=null"> AND WIDTH=#{ew.entity.width}</if> <if test="ew.entity.width!=null"> AND WIDTH=#{ew.entity.width}</if>
<if test="ew.entity.numbers!=null"> AND NUMBERS=#{ew.entity.numbers}</if>
<if test="ew.entity.qty!=null"> AND QTY=#{ew.entity.qty}</if> <if test="ew.entity.qty!=null"> AND QTY=#{ew.entity.qty}</if>
<if test="ew.entity.createUser!=null"> AND CREATE_USER=#{ew.entity.createUser}</if> <if test="ew.entity.createUser!=null"> AND CREATE_USER=#{ew.entity.createUser}</if>
<if test="ew.entity.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if> <if test="ew.entity.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if>
<if test="ew.entity.modifuUser!=null"> AND MODIFU_USER=#{ew.entity.modifuUser}</if> <if test="ew.entity.modifyUser!=null"> AND MODIFY_USER=#{ew.entity.modifyUser}</if>
<if test="ew.entity.modifiedDateTime!=null"> AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}</if> <if test="ew.entity.modifiedDateTime!=null"> AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}</if>
</if> </if>
<if test="ew!=null and ew.sqlSegment!=null and ew.nonEmptyOfWhere"> <if test="ew!=null and ew.sqlSegment!=null and ew.nonEmptyOfWhere">
@ -408,10 +423,11 @@
<if test="ew.entity.itemBo!=null"> AND ITEM_BO=#{ew.entity.itemBo}</if> <if test="ew.entity.itemBo!=null"> AND ITEM_BO=#{ew.entity.itemBo}</if>
<if test="ew.entity.lenght!=null"> AND LENGHT=#{ew.entity.lenght}</if> <if test="ew.entity.lenght!=null"> AND LENGHT=#{ew.entity.lenght}</if>
<if test="ew.entity.width!=null"> AND WIDTH=#{ew.entity.width}</if> <if test="ew.entity.width!=null"> AND WIDTH=#{ew.entity.width}</if>
<if test="ew.entity.numbers!=null"> AND NUMBERS=#{ew.entity.numbers}</if>
<if test="ew.entity.qty!=null"> AND QTY=#{ew.entity.qty}</if> <if test="ew.entity.qty!=null"> AND QTY=#{ew.entity.qty}</if>
<if test="ew.entity.createUser!=null"> AND CREATE_USER=#{ew.entity.createUser}</if> <if test="ew.entity.createUser!=null"> AND CREATE_USER=#{ew.entity.createUser}</if>
<if test="ew.entity.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if> <if test="ew.entity.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if>
<if test="ew.entity.modifuUser!=null"> AND MODIFU_USER=#{ew.entity.modifuUser}</if> <if test="ew.entity.modifyUser!=null"> AND MODIFY_USER=#{ew.entity.modifyUser}</if>
<if test="ew.entity.modifiedDateTime!=null"> AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}</if> <if test="ew.entity.modifiedDateTime!=null"> AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}</if>
</if> </if>
<if test="ew!=null and ew.sqlSegment!=null and ew.nonEmptyOfWhere"> <if test="ew!=null and ew.sqlSegment!=null and ew.nonEmptyOfWhere">

Loading…
Cancel
Save