From 1263830c5f59c47ab4ec35c4f8a66b49da2c945d Mon Sep 17 00:00:00 2001 From: "JinLu.Yin" <411641505@qq.com> Date: Thu, 15 Sep 2022 22:21:49 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=9F=E4=BA=A7=E9=80=80=E6=96=99=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wm/controller/WmRtIssueController.java | 10 + .../controller/WmRtIssueLineController.java | 105 ++++++ .../com/ktg/mes/wm/domain/WmRtIssueLine.java | 347 ++++++++++++++++++ .../mes/wm/mapper/WmRtIssueLineMapper.java | 68 ++++ .../mes/wm/service/IWmRtIssueLineService.java | 68 ++++ .../impl/WmRtIssueLineServiceImpl.java | 101 +++++ .../mapper/wm/WmRtIssueLineMapper.xml | 182 +++++++++ 7 files changed, 881 insertions(+) create mode 100644 ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmRtIssueLineController.java create mode 100644 ktg-mes/src/main/java/com/ktg/mes/wm/domain/WmRtIssueLine.java create mode 100644 ktg-mes/src/main/java/com/ktg/mes/wm/mapper/WmRtIssueLineMapper.java create mode 100644 ktg-mes/src/main/java/com/ktg/mes/wm/service/IWmRtIssueLineService.java create mode 100644 ktg-mes/src/main/java/com/ktg/mes/wm/service/impl/WmRtIssueLineServiceImpl.java create mode 100644 ktg-mes/src/main/resources/mapper/wm/WmRtIssueLineMapper.xml diff --git a/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmRtIssueController.java b/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmRtIssueController.java index 71af548..36c7005 100644 --- a/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmRtIssueController.java +++ b/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmRtIssueController.java @@ -4,8 +4,10 @@ import java.util.List; import javax.servlet.http.HttpServletResponse; import com.ktg.common.constant.UserConstants; +import com.ktg.mes.wm.service.IWmRtIssueLineService; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.transaction.annotation.Transactional; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.PutMapping; @@ -36,6 +38,9 @@ public class WmRtIssueController extends BaseController @Autowired private IWmRtIssueService wmRtIssueService; + @Autowired + private IWmRtIssueLineService wmRtIssueLineService; + /** * 查询生产退料单头列表 */ @@ -104,9 +109,14 @@ public class WmRtIssueController extends BaseController */ @PreAuthorize("@ss.hasPermi('mes:wm:rtissue:remove')") @Log(title = "生产退料单头", businessType = BusinessType.DELETE) + @Transactional @DeleteMapping("/{rtIds}") public AjaxResult remove(@PathVariable Long[] rtIds) { + for (Long rtId: rtIds + ) { + wmRtIssueLineService.deleteByRtId(rtId); + } return toAjax(wmRtIssueService.deleteWmRtIssueByRtIds(rtIds)); } } diff --git a/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmRtIssueLineController.java b/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmRtIssueLineController.java new file mode 100644 index 0000000..0d4a19c --- /dev/null +++ b/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmRtIssueLineController.java @@ -0,0 +1,105 @@ +package com.ktg.mes.wm.controller; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; +import com.ktg.common.annotation.Log; +import com.ktg.common.core.controller.BaseController; +import com.ktg.common.core.domain.AjaxResult; +import com.ktg.common.enums.BusinessType; +import com.ktg.mes.wm.domain.WmRtIssueLine; +import com.ktg.mes.wm.service.IWmRtIssueLineService; +import com.ktg.common.utils.poi.ExcelUtil; +import com.ktg.common.core.page.TableDataInfo; + +/** + * 生产退料单行Controller + * + * @author yinjinlu + * @date 2022-09-15 + */ +@RestController +@RequestMapping("/mes/wm/rtissueline") +public class WmRtIssueLineController extends BaseController +{ + @Autowired + private IWmRtIssueLineService wmRtIssueLineService; + + /** + * 查询生产退料单行列表 + */ + @PreAuthorize("@ss.hasPermi('mes:wm:rtissue:list')") + @GetMapping("/list") + public TableDataInfo list(WmRtIssueLine wmRtIssueLine) + { + startPage(); + List list = wmRtIssueLineService.selectWmRtIssueLineList(wmRtIssueLine); + return getDataTable(list); + } + + /** + * 导出生产退料单行列表 + */ + @PreAuthorize("@ss.hasPermi('mes:wm:rtissue:export')") + @Log(title = "生产退料单行", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, WmRtIssueLine wmRtIssueLine) + { + List list = wmRtIssueLineService.selectWmRtIssueLineList(wmRtIssueLine); + ExcelUtil util = new ExcelUtil(WmRtIssueLine.class); + util.exportExcel(response, list, "生产退料单行数据"); + } + + /** + * 获取生产退料单行详细信息 + */ + @PreAuthorize("@ss.hasPermi('mes:wm:rtissue:query')") + @GetMapping(value = "/{lineId}") + public AjaxResult getInfo(@PathVariable("lineId") Long lineId) + { + return AjaxResult.success(wmRtIssueLineService.selectWmRtIssueLineByLineId(lineId)); + } + + /** + * 新增生产退料单行 + */ + @PreAuthorize("@ss.hasPermi('mes:wm:rtissue:add')") + @Log(title = "生产退料单行", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody WmRtIssueLine wmRtIssueLine) + { + return toAjax(wmRtIssueLineService.insertWmRtIssueLine(wmRtIssueLine)); + } + + /** + * 修改生产退料单行 + */ + @PreAuthorize("@ss.hasPermi('mes:wm:rtissue:edit')") + @Log(title = "生产退料单行", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody WmRtIssueLine wmRtIssueLine) + { + return toAjax(wmRtIssueLineService.updateWmRtIssueLine(wmRtIssueLine)); + } + + /** + * 删除生产退料单行 + */ + @PreAuthorize("@ss.hasPermi('mes:wm:rtissue:remove')") + @Log(title = "生产退料单行", businessType = BusinessType.DELETE) + @DeleteMapping("/{lineIds}") + public AjaxResult remove(@PathVariable Long[] lineIds) + { + + return toAjax(wmRtIssueLineService.deleteWmRtIssueLineByLineIds(lineIds)); + } +} diff --git a/ktg-mes/src/main/java/com/ktg/mes/wm/domain/WmRtIssueLine.java b/ktg-mes/src/main/java/com/ktg/mes/wm/domain/WmRtIssueLine.java new file mode 100644 index 0000000..ce59a50 --- /dev/null +++ b/ktg-mes/src/main/java/com/ktg/mes/wm/domain/WmRtIssueLine.java @@ -0,0 +1,347 @@ +package com.ktg.mes.wm.domain; + +import java.math.BigDecimal; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ktg.common.annotation.Excel; +import com.ktg.common.core.domain.BaseEntity; + +/** + * 生产退料单行对象 wm_rt_issue_line + * + * @author yinjinlu + * @date 2022-09-15 + */ +public class WmRtIssueLine extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 行ID */ + private Long lineId; + + /** 退料单ID */ + @Excel(name = "退料单ID") + private Long rtId; + + /** 库存ID */ + @Excel(name = "库存ID") + private Long materialStockId; + + /** 产品物料ID */ + @Excel(name = "产品物料ID") + private Long itemId; + + /** 产品物料编码 */ + @Excel(name = "产品物料编码") + private String itemCode; + + /** 产品物料名称 */ + @Excel(name = "产品物料名称") + private String itemName; + + /** 规格型号 */ + @Excel(name = "规格型号") + private String specification; + + /** 单位 */ + @Excel(name = "单位") + private String unitOfMeasure; + + /** 退料数量 */ + @Excel(name = "退料数量") + private BigDecimal quantityRt; + + /** 领料批次号 */ + @Excel(name = "领料批次号") + private String batchCode; + + /** 仓库ID */ + @Excel(name = "仓库ID") + private Long warehouseId; + + /** 仓库编码 */ + @Excel(name = "仓库编码") + private String warehouseCode; + + /** 仓库名称 */ + @Excel(name = "仓库名称") + private String warehouseName; + + /** 库区ID */ + @Excel(name = "库区ID") + private Long locationId; + + /** 库区编码 */ + @Excel(name = "库区编码") + private String locationCode; + + /** 库区名称 */ + @Excel(name = "库区名称") + private String locationName; + + /** 库位ID */ + @Excel(name = "库位ID") + private Long areaId; + + /** 库位编码 */ + @Excel(name = "库位编码") + private String areaCode; + + /** 库位名称 */ + @Excel(name = "库位名称") + private String areaName; + + /** 预留字段1 */ + private String attr1; + + /** 预留字段2 */ + private String attr2; + + /** 预留字段3 */ + private Long attr3; + + /** 预留字段4 */ + private Long attr4; + + public void setLineId(Long lineId) + { + this.lineId = lineId; + } + + public Long getLineId() + { + return lineId; + } + public void setRtId(Long rtId) + { + this.rtId = rtId; + } + + public Long getRtId() + { + return rtId; + } + public void setMaterialStockId(Long materialStockId) + { + this.materialStockId = materialStockId; + } + + public Long getMaterialStockId() + { + return materialStockId; + } + public void setItemId(Long itemId) + { + this.itemId = itemId; + } + + public Long getItemId() + { + return itemId; + } + public void setItemCode(String itemCode) + { + this.itemCode = itemCode; + } + + public String getItemCode() + { + return itemCode; + } + public void setItemName(String itemName) + { + this.itemName = itemName; + } + + public String getItemName() + { + return itemName; + } + public void setSpecification(String specification) + { + this.specification = specification; + } + + public String getSpecification() + { + return specification; + } + public void setUnitOfMeasure(String unitOfMeasure) + { + this.unitOfMeasure = unitOfMeasure; + } + + public String getUnitOfMeasure() + { + return unitOfMeasure; + } + public void setQuantityRt(BigDecimal quantityRt) + { + this.quantityRt = quantityRt; + } + + public BigDecimal getQuantityRt() + { + return quantityRt; + } + public void setBatchCode(String batchCode) + { + this.batchCode = batchCode; + } + + public String getBatchCode() + { + return batchCode; + } + public void setWarehouseId(Long warehouseId) + { + this.warehouseId = warehouseId; + } + + public Long getWarehouseId() + { + return warehouseId; + } + public void setWarehouseCode(String warehouseCode) + { + this.warehouseCode = warehouseCode; + } + + public String getWarehouseCode() + { + return warehouseCode; + } + public void setWarehouseName(String warehouseName) + { + this.warehouseName = warehouseName; + } + + public String getWarehouseName() + { + return warehouseName; + } + public void setLocationId(Long locationId) + { + this.locationId = locationId; + } + + public Long getLocationId() + { + return locationId; + } + public void setLocationCode(String locationCode) + { + this.locationCode = locationCode; + } + + public String getLocationCode() + { + return locationCode; + } + public void setLocationName(String locationName) + { + this.locationName = locationName; + } + + public String getLocationName() + { + return locationName; + } + public void setAreaId(Long areaId) + { + this.areaId = areaId; + } + + public Long getAreaId() + { + return areaId; + } + public void setAreaCode(String areaCode) + { + this.areaCode = areaCode; + } + + public String getAreaCode() + { + return areaCode; + } + public void setAreaName(String areaName) + { + this.areaName = areaName; + } + + public String getAreaName() + { + return areaName; + } + public void setAttr1(String attr1) + { + this.attr1 = attr1; + } + + public String getAttr1() + { + return attr1; + } + public void setAttr2(String attr2) + { + this.attr2 = attr2; + } + + public String getAttr2() + { + return attr2; + } + public void setAttr3(Long attr3) + { + this.attr3 = attr3; + } + + public Long getAttr3() + { + return attr3; + } + public void setAttr4(Long attr4) + { + this.attr4 = attr4; + } + + public Long getAttr4() + { + return attr4; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("lineId", getLineId()) + .append("rtId", getRtId()) + .append("materialStockId", getMaterialStockId()) + .append("itemId", getItemId()) + .append("itemCode", getItemCode()) + .append("itemName", getItemName()) + .append("specification", getSpecification()) + .append("unitOfMeasure", getUnitOfMeasure()) + .append("quantityRt", getQuantityRt()) + .append("batchCode", getBatchCode()) + .append("warehouseId", getWarehouseId()) + .append("warehouseCode", getWarehouseCode()) + .append("warehouseName", getWarehouseName()) + .append("locationId", getLocationId()) + .append("locationCode", getLocationCode()) + .append("locationName", getLocationName()) + .append("areaId", getAreaId()) + .append("areaCode", getAreaCode()) + .append("areaName", getAreaName()) + .append("remark", getRemark()) + .append("attr1", getAttr1()) + .append("attr2", getAttr2()) + .append("attr3", getAttr3()) + .append("attr4", getAttr4()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .toString(); + } +} diff --git a/ktg-mes/src/main/java/com/ktg/mes/wm/mapper/WmRtIssueLineMapper.java b/ktg-mes/src/main/java/com/ktg/mes/wm/mapper/WmRtIssueLineMapper.java new file mode 100644 index 0000000..a427494 --- /dev/null +++ b/ktg-mes/src/main/java/com/ktg/mes/wm/mapper/WmRtIssueLineMapper.java @@ -0,0 +1,68 @@ +package com.ktg.mes.wm.mapper; + +import java.util.List; +import com.ktg.mes.wm.domain.WmRtIssueLine; + +/** + * 生产退料单行Mapper接口 + * + * @author yinjinlu + * @date 2022-09-15 + */ +public interface WmRtIssueLineMapper +{ + /** + * 查询生产退料单行 + * + * @param lineId 生产退料单行主键 + * @return 生产退料单行 + */ + public WmRtIssueLine selectWmRtIssueLineByLineId(Long lineId); + + /** + * 查询生产退料单行列表 + * + * @param wmRtIssueLine 生产退料单行 + * @return 生产退料单行集合 + */ + public List selectWmRtIssueLineList(WmRtIssueLine wmRtIssueLine); + + /** + * 新增生产退料单行 + * + * @param wmRtIssueLine 生产退料单行 + * @return 结果 + */ + public int insertWmRtIssueLine(WmRtIssueLine wmRtIssueLine); + + /** + * 修改生产退料单行 + * + * @param wmRtIssueLine 生产退料单行 + * @return 结果 + */ + public int updateWmRtIssueLine(WmRtIssueLine wmRtIssueLine); + + /** + * 删除生产退料单行 + * + * @param lineId 生产退料单行主键 + * @return 结果 + */ + public int deleteWmRtIssueLineByLineId(Long lineId); + + /** + * 批量删除生产退料单行 + * + * @param lineIds 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteWmRtIssueLineByLineIds(Long[] lineIds); + + /** + * 根据退料单ID删除所有行 + * @param rtId + * @return + */ + public int deleteByRtId(Long rtId); +} diff --git a/ktg-mes/src/main/java/com/ktg/mes/wm/service/IWmRtIssueLineService.java b/ktg-mes/src/main/java/com/ktg/mes/wm/service/IWmRtIssueLineService.java new file mode 100644 index 0000000..98dbdc6 --- /dev/null +++ b/ktg-mes/src/main/java/com/ktg/mes/wm/service/IWmRtIssueLineService.java @@ -0,0 +1,68 @@ +package com.ktg.mes.wm.service; + +import java.util.List; +import com.ktg.mes.wm.domain.WmRtIssueLine; + +/** + * 生产退料单行Service接口 + * + * @author yinjinlu + * @date 2022-09-15 + */ +public interface IWmRtIssueLineService +{ + /** + * 查询生产退料单行 + * + * @param lineId 生产退料单行主键 + * @return 生产退料单行 + */ + public WmRtIssueLine selectWmRtIssueLineByLineId(Long lineId); + + /** + * 查询生产退料单行列表 + * + * @param wmRtIssueLine 生产退料单行 + * @return 生产退料单行集合 + */ + public List selectWmRtIssueLineList(WmRtIssueLine wmRtIssueLine); + + /** + * 新增生产退料单行 + * + * @param wmRtIssueLine 生产退料单行 + * @return 结果 + */ + public int insertWmRtIssueLine(WmRtIssueLine wmRtIssueLine); + + /** + * 修改生产退料单行 + * + * @param wmRtIssueLine 生产退料单行 + * @return 结果 + */ + public int updateWmRtIssueLine(WmRtIssueLine wmRtIssueLine); + + /** + * 批量删除生产退料单行 + * + * @param lineIds 需要删除的生产退料单行主键集合 + * @return 结果 + */ + public int deleteWmRtIssueLineByLineIds(Long[] lineIds); + + /** + * 删除生产退料单行信息 + * + * @param lineId 生产退料单行主键 + * @return 结果 + */ + public int deleteWmRtIssueLineByLineId(Long lineId); + + /** + * 根据退料单ID删除所有行 + * @param rtId + * @return + */ + public int deleteByRtId(Long rtId); +} diff --git a/ktg-mes/src/main/java/com/ktg/mes/wm/service/impl/WmRtIssueLineServiceImpl.java b/ktg-mes/src/main/java/com/ktg/mes/wm/service/impl/WmRtIssueLineServiceImpl.java new file mode 100644 index 0000000..f28cf34 --- /dev/null +++ b/ktg-mes/src/main/java/com/ktg/mes/wm/service/impl/WmRtIssueLineServiceImpl.java @@ -0,0 +1,101 @@ +package com.ktg.mes.wm.service.impl; + +import java.util.List; +import com.ktg.common.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ktg.mes.wm.mapper.WmRtIssueLineMapper; +import com.ktg.mes.wm.domain.WmRtIssueLine; +import com.ktg.mes.wm.service.IWmRtIssueLineService; + +/** + * 生产退料单行Service业务层处理 + * + * @author yinjinlu + * @date 2022-09-15 + */ +@Service +public class WmRtIssueLineServiceImpl implements IWmRtIssueLineService +{ + @Autowired + private WmRtIssueLineMapper wmRtIssueLineMapper; + + /** + * 查询生产退料单行 + * + * @param lineId 生产退料单行主键 + * @return 生产退料单行 + */ + @Override + public WmRtIssueLine selectWmRtIssueLineByLineId(Long lineId) + { + return wmRtIssueLineMapper.selectWmRtIssueLineByLineId(lineId); + } + + /** + * 查询生产退料单行列表 + * + * @param wmRtIssueLine 生产退料单行 + * @return 生产退料单行 + */ + @Override + public List selectWmRtIssueLineList(WmRtIssueLine wmRtIssueLine) + { + return wmRtIssueLineMapper.selectWmRtIssueLineList(wmRtIssueLine); + } + + /** + * 新增生产退料单行 + * + * @param wmRtIssueLine 生产退料单行 + * @return 结果 + */ + @Override + public int insertWmRtIssueLine(WmRtIssueLine wmRtIssueLine) + { + wmRtIssueLine.setCreateTime(DateUtils.getNowDate()); + return wmRtIssueLineMapper.insertWmRtIssueLine(wmRtIssueLine); + } + + /** + * 修改生产退料单行 + * + * @param wmRtIssueLine 生产退料单行 + * @return 结果 + */ + @Override + public int updateWmRtIssueLine(WmRtIssueLine wmRtIssueLine) + { + wmRtIssueLine.setUpdateTime(DateUtils.getNowDate()); + return wmRtIssueLineMapper.updateWmRtIssueLine(wmRtIssueLine); + } + + /** + * 批量删除生产退料单行 + * + * @param lineIds 需要删除的生产退料单行主键 + * @return 结果 + */ + @Override + public int deleteWmRtIssueLineByLineIds(Long[] lineIds) + { + return wmRtIssueLineMapper.deleteWmRtIssueLineByLineIds(lineIds); + } + + /** + * 删除生产退料单行信息 + * + * @param lineId 生产退料单行主键 + * @return 结果 + */ + @Override + public int deleteWmRtIssueLineByLineId(Long lineId) + { + return wmRtIssueLineMapper.deleteWmRtIssueLineByLineId(lineId); + } + + @Override + public int deleteByRtId(Long rtId) { + return wmRtIssueLineMapper.deleteByRtId(rtId); + } +} diff --git a/ktg-mes/src/main/resources/mapper/wm/WmRtIssueLineMapper.xml b/ktg-mes/src/main/resources/mapper/wm/WmRtIssueLineMapper.xml new file mode 100644 index 0000000..86e1c29 --- /dev/null +++ b/ktg-mes/src/main/resources/mapper/wm/WmRtIssueLineMapper.xml @@ -0,0 +1,182 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select line_id, rt_id, material_stock_id, item_id, item_code, item_name, specification, unit_of_measure, quantity_rt, batch_code, warehouse_id, warehouse_code, warehouse_name, location_id, location_code, location_name, area_id, area_code, area_name, remark, attr1, attr2, attr3, attr4, create_by, create_time, update_by, update_time from wm_rt_issue_line + + + + + + + + insert into wm_rt_issue_line + + rt_id, + material_stock_id, + item_id, + item_code, + item_name, + specification, + unit_of_measure, + quantity_rt, + batch_code, + warehouse_id, + warehouse_code, + warehouse_name, + location_id, + location_code, + location_name, + area_id, + area_code, + area_name, + remark, + attr1, + attr2, + attr3, + attr4, + create_by, + create_time, + update_by, + update_time, + + + #{rtId}, + #{materialStockId}, + #{itemId}, + #{itemCode}, + #{itemName}, + #{specification}, + #{unitOfMeasure}, + #{quantityRt}, + #{batchCode}, + #{warehouseId}, + #{warehouseCode}, + #{warehouseName}, + #{locationId}, + #{locationCode}, + #{locationName}, + #{areaId}, + #{areaCode}, + #{areaName}, + #{remark}, + #{attr1}, + #{attr2}, + #{attr3}, + #{attr4}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + + + + + update wm_rt_issue_line + + rt_id = #{rtId}, + material_stock_id = #{materialStockId}, + item_id = #{itemId}, + item_code = #{itemCode}, + item_name = #{itemName}, + specification = #{specification}, + unit_of_measure = #{unitOfMeasure}, + quantity_rt = #{quantityRt}, + batch_code = #{batchCode}, + warehouse_id = #{warehouseId}, + warehouse_code = #{warehouseCode}, + warehouse_name = #{warehouseName}, + location_id = #{locationId}, + location_code = #{locationCode}, + location_name = #{locationName}, + area_id = #{areaId}, + area_code = #{areaCode}, + area_name = #{areaName}, + remark = #{remark}, + attr1 = #{attr1}, + attr2 = #{attr2}, + attr3 = #{attr3}, + attr4 = #{attr4}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + + where line_id = #{lineId} + + + + delete from wm_rt_issue_line where line_id = #{lineId} + + + + delete from wm_rt_issue_line where line_id in + + #{lineId} + + + + + delete from wm_rt_issue_line where rt_id = #{rtId} + + + \ No newline at end of file