逻辑删除+手持增加缓冲区接口
parent
b69c8561d9
commit
e38a563f81
@ -1,100 +0,0 @@
|
||||
package com.op.mes.controller;
|
||||
|
||||
import java.util.List;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
import com.op.common.core.utils.uuid.IdUtils;
|
||||
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.op.common.log.annotation.Log;
|
||||
import com.op.common.log.enums.BusinessType;
|
||||
import com.op.common.security.annotation.RequiresPermissions;
|
||||
import com.op.mes.domain.MesPrepareValidate;
|
||||
import com.op.mes.service.IMesPrepareValidateService;
|
||||
import com.op.common.core.web.controller.BaseController;
|
||||
import com.op.common.core.web.domain.AjaxResult;
|
||||
import com.op.common.core.utils.poi.ExcelUtil;
|
||||
import com.op.common.core.web.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 生产前准备记录报表Controller
|
||||
*
|
||||
* @author Open Platform
|
||||
* @date 2023-08-04
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/validate")
|
||||
public class MesPrepareValidateController extends BaseController {
|
||||
@Autowired
|
||||
private IMesPrepareValidateService mesPrepareValidateService;
|
||||
|
||||
/**
|
||||
* 查询生产前准备记录报表列表
|
||||
*/
|
||||
@RequiresPermissions("mes:validate:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(MesPrepareValidate mesPrepareValidate) {
|
||||
startPage();
|
||||
List<MesPrepareValidate> list = mesPrepareValidateService.selectMesPrepareValidateList(mesPrepareValidate);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出生产前准备记录报表列表
|
||||
*/
|
||||
@RequiresPermissions("mes:validate:export")
|
||||
@Log(title = "生产前准备记录报表", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, MesPrepareValidate mesPrepareValidate) {
|
||||
List<MesPrepareValidate> list = mesPrepareValidateService.selectMesPrepareValidateList(mesPrepareValidate);
|
||||
ExcelUtil<MesPrepareValidate> util = new ExcelUtil<MesPrepareValidate>(MesPrepareValidate.class);
|
||||
util.exportExcel(response, list, "生产前准备记录报表数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取生产前准备记录报表详细信息
|
||||
*/
|
||||
@RequiresPermissions("mes:validate:query")
|
||||
@GetMapping(value = "/{validateId}")
|
||||
public AjaxResult getInfo(@PathVariable("validateId") String validateId) {
|
||||
return success(mesPrepareValidateService.selectMesPrepareValidateByValidateId(validateId));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增生产前准备记录报表
|
||||
*/
|
||||
@RequiresPermissions("mes:validate:add")
|
||||
@Log(title = "生产前准备记录报表", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody MesPrepareValidate mesPrepareValidate) {
|
||||
mesPrepareValidate.setValidateId(IdUtils.fastSimpleUUID());
|
||||
return toAjax(mesPrepareValidateService.insertMesPrepareValidate(mesPrepareValidate));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改生产前准备记录报表
|
||||
*/
|
||||
@RequiresPermissions("mes:validate:edit")
|
||||
@Log(title = "生产前准备记录报表", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody MesPrepareValidate mesPrepareValidate) {
|
||||
return toAjax(mesPrepareValidateService.updateMesPrepareValidate(mesPrepareValidate));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除生产前准备记录报表
|
||||
*/
|
||||
@RequiresPermissions("mes:validate:remove")
|
||||
@Log(title = "生产前准备记录报表", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{validateIds}")
|
||||
public AjaxResult remove(@PathVariable String[] validateIds) {
|
||||
return toAjax(mesPrepareValidateService.deleteMesPrepareValidateByValidateIds(validateIds));
|
||||
}
|
||||
}
|
@ -1,210 +0,0 @@
|
||||
package com.op.mes.domain;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.op.common.core.annotation.Excel;
|
||||
import com.op.common.core.web.domain.BaseEntity;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 生产前准备记录报表对象 mes_prepare_validate
|
||||
*
|
||||
* @author Open Platform
|
||||
* @date 2023-08-04
|
||||
*/
|
||||
public class MesPrepareValidate extends BaseEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 生产前准备id */
|
||||
private String validateId;
|
||||
|
||||
/** 工单编码 */
|
||||
@Excel(name = "工单编码")
|
||||
private String workorderCode;
|
||||
|
||||
/** 工单名称 */
|
||||
@Excel(name = "工单名称")
|
||||
private String workorderName;
|
||||
|
||||
/** 产品规格型号 */
|
||||
@Excel(name = "产品规格型号")
|
||||
private String productSpc;
|
||||
|
||||
/** 产品名称 */
|
||||
@Excel(name = "产品名称")
|
||||
private String productName;
|
||||
|
||||
/** 单据状态 */
|
||||
@Excel(name = "单据状态")
|
||||
private String status;
|
||||
|
||||
/** 预留字段1 */
|
||||
@Excel(name = "预留字段1")
|
||||
private String attr1;
|
||||
|
||||
/** 预留字段2 */
|
||||
@Excel(name = "预留字段2")
|
||||
private String attr2;
|
||||
|
||||
/** 预留字段3 */
|
||||
@Excel(name = "预留字段3")
|
||||
private String attr3;
|
||||
|
||||
/** 预留字段4 */
|
||||
@Excel(name = "预留字段4")
|
||||
private String attr4;
|
||||
|
||||
/** 工厂编码 */
|
||||
@Excel(name = "工厂编码")
|
||||
private String factoryCode;
|
||||
|
||||
/** 完成时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "完成时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date endTime;
|
||||
|
||||
/** 准备类型 */
|
||||
@Excel(name = "准备类型")
|
||||
private String validateType;
|
||||
|
||||
/** 准备内容 */
|
||||
@Excel(name = "准备内容")
|
||||
private String validateName;
|
||||
|
||||
/** 准备状态 */
|
||||
@Excel(name = "准备状态")
|
||||
private String validateStatus;
|
||||
|
||||
public void setEndTime(Date endTime) {
|
||||
this.endTime = endTime;
|
||||
}
|
||||
public Date getEndTime() {
|
||||
return endTime;
|
||||
}
|
||||
|
||||
public void setValidateId(String validateId) {
|
||||
this.validateId = validateId;
|
||||
}
|
||||
public String getValidateId() {
|
||||
return validateId;
|
||||
}
|
||||
|
||||
public void setValidateType(String validateType) {
|
||||
this.validateType = validateType;
|
||||
}
|
||||
public String getValidateType() {
|
||||
return validateType;
|
||||
}
|
||||
|
||||
public void setValidateName(String validateName) {
|
||||
this.validateName = validateName;
|
||||
}
|
||||
public String getValidateName() {
|
||||
return validateName;
|
||||
}
|
||||
|
||||
public void setStatus(String status) {
|
||||
this.status = status;
|
||||
}
|
||||
public String getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setWorkorderCode(String workorderCode) {
|
||||
this.workorderCode = workorderCode;
|
||||
}
|
||||
public String getWorkorderCode() {
|
||||
return workorderCode;
|
||||
}
|
||||
|
||||
public void setWorkorderName(String workorderName) {
|
||||
this.workorderName = workorderName;
|
||||
}
|
||||
public String getWorkorderName() {
|
||||
return workorderName;
|
||||
}
|
||||
|
||||
public void setProductSpc(String productSpc) {
|
||||
this.productSpc = productSpc;
|
||||
}
|
||||
public String getProductSpc() {
|
||||
return productSpc;
|
||||
}
|
||||
|
||||
public void setProductName(String productName) {
|
||||
this.productName = productName;
|
||||
}
|
||||
public String getProductName() {
|
||||
return productName;
|
||||
}
|
||||
|
||||
public void setValidateStatus(String ValidateStatus) {
|
||||
this.validateStatus = ValidateStatus;
|
||||
}
|
||||
public String getValidateStatus() {
|
||||
return validateStatus;
|
||||
}
|
||||
|
||||
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(String attr3) {
|
||||
this.attr3 = attr3;
|
||||
}
|
||||
public String getAttr3() {
|
||||
return attr3;
|
||||
}
|
||||
|
||||
public void setAttr4(String attr4) {
|
||||
this.attr4 = attr4;
|
||||
}
|
||||
public String getAttr4() {
|
||||
return attr4;
|
||||
}
|
||||
|
||||
public void setFactoryCode(String factoryCode) {
|
||||
this.factoryCode = factoryCode;
|
||||
}
|
||||
public String getFactoryCode() {
|
||||
return factoryCode;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("validateId", getValidateId())
|
||||
.append("workorderCode", getWorkorderCode())
|
||||
.append("workorderName", getWorkorderName())
|
||||
.append("productSpc", getProductSpc())
|
||||
.append("productName", getProductName())
|
||||
.append("status", getStatus())
|
||||
.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())
|
||||
.append("factoryCode", getFactoryCode())
|
||||
.append("validateType", getValidateType())
|
||||
.append("validateName", getValidateName())
|
||||
.append("validatStatus", getStatus())
|
||||
.append("endTime", getEndTime())
|
||||
.toString();
|
||||
}
|
||||
}
|
@ -1,61 +0,0 @@
|
||||
package com.op.mes.mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.op.mes.domain.MesPrepareValidate;
|
||||
|
||||
/**
|
||||
* 生产前准备记录报表Mapper接口
|
||||
*
|
||||
* @author Open Platform
|
||||
* @date 2023-08-04
|
||||
*/
|
||||
public interface MesPrepareValidateMapper {
|
||||
/**
|
||||
* 查询生产前准备记录报表
|
||||
*
|
||||
* @param validateId 生产前准备记录报表主键
|
||||
* @return 生产前准备记录报表
|
||||
*/
|
||||
public MesPrepareValidate selectMesPrepareValidateByValidateId(String validateId);
|
||||
|
||||
/**
|
||||
* 查询生产前准备记录报表列表
|
||||
*
|
||||
* @param mesPrepareValidate 生产前准备记录报表
|
||||
* @return 生产前准备记录报表集合
|
||||
*/
|
||||
public List<MesPrepareValidate> selectMesPrepareValidateList(MesPrepareValidate mesPrepareValidate);
|
||||
|
||||
/**
|
||||
* 新增生产前准备记录报表
|
||||
*
|
||||
* @param mesPrepareValidate 生产前准备记录报表
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertMesPrepareValidate(MesPrepareValidate mesPrepareValidate);
|
||||
|
||||
/**
|
||||
* 修改生产前准备记录报表
|
||||
*
|
||||
* @param mesPrepareValidate 生产前准备记录报表
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateMesPrepareValidate(MesPrepareValidate mesPrepareValidate);
|
||||
|
||||
/**
|
||||
* 删除生产前准备记录报表
|
||||
*
|
||||
* @param validateId 生产前准备记录报表主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteMesPrepareValidateByValidateId(String validateId);
|
||||
|
||||
/**
|
||||
* 批量删除生产前准备记录报表
|
||||
*
|
||||
* @param validateIds 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteMesPrepareValidateByValidateIds(String[] validateIds);
|
||||
}
|
@ -1,60 +0,0 @@
|
||||
package com.op.mes.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.op.mes.domain.MesPrepareValidate;
|
||||
|
||||
/**
|
||||
* 生产前准备记录报表Service接口
|
||||
*
|
||||
* @author Open Platform
|
||||
* @date 2023-08-04
|
||||
*/
|
||||
public interface IMesPrepareValidateService {
|
||||
/**
|
||||
* 查询生产前准备记录报表
|
||||
*
|
||||
* @param validateId 生产前准备记录报表主键
|
||||
* @return 生产前准备记录报表
|
||||
*/
|
||||
public MesPrepareValidate selectMesPrepareValidateByValidateId(String validateId);
|
||||
|
||||
/**
|
||||
* 查询生产前准备记录报表列表
|
||||
*
|
||||
* @param mesPrepareValidate 生产前准备记录报表
|
||||
* @return 生产前准备记录报表集合
|
||||
*/
|
||||
public List<MesPrepareValidate> selectMesPrepareValidateList(MesPrepareValidate mesPrepareValidate);
|
||||
|
||||
/**
|
||||
* 新增生产前准备记录报表
|
||||
*
|
||||
* @param mesPrepareValidate 生产前准备记录报表
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertMesPrepareValidate(MesPrepareValidate mesPrepareValidate);
|
||||
|
||||
/**
|
||||
* 修改生产前准备记录报表
|
||||
*
|
||||
* @param mesPrepareValidate 生产前准备记录报表
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateMesPrepareValidate(MesPrepareValidate mesPrepareValidate);
|
||||
|
||||
/**
|
||||
* 批量删除生产前准备记录报表
|
||||
*
|
||||
* @param validateIds 需要删除的生产前准备记录报表主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteMesPrepareValidateByValidateIds(String[] validateIds);
|
||||
|
||||
/**
|
||||
* 删除生产前准备记录报表信息
|
||||
*
|
||||
* @param validateId 生产前准备记录报表主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteMesPrepareValidateByValidateId(String validateId);
|
||||
}
|
@ -1,144 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.op.mes.mapper.MesPrepareValidateMapper">
|
||||
|
||||
<resultMap type="MesPrepareValidate" id="MesPrepareValidateResult">
|
||||
<result property="validateId" column="validate_id" />
|
||||
<result property="workorderCode" column="workorder_code" />
|
||||
<result property="workorderName" column="workorder_name" />
|
||||
<result property="productSpc" column="product_spc" />
|
||||
<result property="productName" column="product_name" />
|
||||
<result property="status" column="status" />
|
||||
<result property="remark" column="remark" />
|
||||
<result property="attr1" column="attr1" />
|
||||
<result property="attr2" column="attr2" />
|
||||
<result property="attr3" column="attr3" />
|
||||
<result property="attr4" column="attr4" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
<result property="factoryCode" column="factory_code" />
|
||||
<result property="endTime" column="end_time" />
|
||||
<result property="validateType" column="validate_type" />
|
||||
<result property="validateName" column="validate_name" />
|
||||
<result property="validateStatus" column="validate_status" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectMesPrepareValidateVo">
|
||||
select validate_id, workorder_code, workorder_name, product_spc, product_name, status, remark, attr1, attr2, attr3, attr4, create_by, create_time, update_by, update_time, factory_code from mes_prepare_validate
|
||||
</sql>
|
||||
|
||||
<select id="selectMesPrepareValidateList" parameterType="MesPrepareValidate" resultMap="MesPrepareValidateResult">
|
||||
select
|
||||
mpv.validate_id,
|
||||
mpv.workorder_code,
|
||||
mpv.workorder_name,
|
||||
mpv.product_spc,
|
||||
mpv.product_name,
|
||||
mpv.status,
|
||||
mpv.remark,
|
||||
mpv.create_by,
|
||||
mpv.create_time,
|
||||
mpv.update_by,
|
||||
mpv.update_time,
|
||||
mpv.factory_code,
|
||||
mpvd.validate_id id,
|
||||
mpvd.validate_type,
|
||||
mpvd.validate_name,
|
||||
mpvd.end_time
|
||||
from mes_prepare_validate mpv,mes_prepare_validate_detail mpvd
|
||||
<where>
|
||||
<if test="workorderCode != null and workorderCode != ''"> and workorder_code = #{workorderCode}</if>
|
||||
<if test="workorderName != null and workorderName != ''"> and workorder_name like concat('%', #{workorderName}, '%')</if>
|
||||
<if test="productSpc != null and productSpc != ''"> and product_spc = #{productSpc}</if>
|
||||
<if test="productName != null and productName != ''"> and product_name like concat('%', #{productName}, '%')</if>
|
||||
<if test="status != null and status != ''"> and status = #{status}</if>
|
||||
<if test="attr1 != null and attr1 != ''"> and attr1 = #{attr1}</if>
|
||||
<if test="attr2 != null and attr2 != ''"> and attr2 = #{attr2}</if>
|
||||
<if test="attr3 != null and attr3 != ''"> and attr3 = #{attr3}</if>
|
||||
<if test="attr4 != null and attr4 != ''"> and attr4 = #{attr4}</if>
|
||||
<if test="factoryCode != null and factoryCode != ''"> and factory_code = #{factoryCode}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectMesPrepareValidateByValidateId" parameterType="String" resultMap="MesPrepareValidateResult">
|
||||
<include refid="selectMesPrepareValidateVo"/>
|
||||
where validate_id = #{validateId}
|
||||
</select>
|
||||
|
||||
<insert id="insertMesPrepareValidate" parameterType="MesPrepareValidate">
|
||||
insert into mes_prepare_validate
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="validateId != null">validate_id,</if>
|
||||
<if test="workorderCode != null and workorderCode != ''">workorder_code,</if>
|
||||
<if test="workorderName != null">workorder_name,</if>
|
||||
<if test="productSpc != null">product_spc,</if>
|
||||
<if test="productName != null">product_name,</if>
|
||||
<if test="status != null">status,</if>
|
||||
<if test="remark != null">remark,</if>
|
||||
<if test="attr1 != null">attr1,</if>
|
||||
<if test="attr2 != null">attr2,</if>
|
||||
<if test="attr3 != null">attr3,</if>
|
||||
<if test="attr4 != null">attr4,</if>
|
||||
<if test="createBy != null">create_by,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
<if test="updateBy != null">update_by,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
<if test="factoryCode != null">factory_code,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="validateId != null">#{validateId},</if>
|
||||
<if test="workorderCode != null and workorderCode != ''">#{workorderCode},</if>
|
||||
<if test="workorderName != null">#{workorderName},</if>
|
||||
<if test="productSpc != null">#{productSpc},</if>
|
||||
<if test="productName != null">#{productName},</if>
|
||||
<if test="status != null">#{status},</if>
|
||||
<if test="remark != null">#{remark},</if>
|
||||
<if test="attr1 != null">#{attr1},</if>
|
||||
<if test="attr2 != null">#{attr2},</if>
|
||||
<if test="attr3 != null">#{attr3},</if>
|
||||
<if test="attr4 != null">#{attr4},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="updateBy != null">#{updateBy},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
<if test="factoryCode != null">#{factoryCode},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateMesPrepareValidate" parameterType="MesPrepareValidate">
|
||||
update mes_prepare_validate
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="workorderCode != null and workorderCode != ''">workorder_code = #{workorderCode},</if>
|
||||
<if test="workorderName != null">workorder_name = #{workorderName},</if>
|
||||
<if test="productSpc != null">product_spc = #{productSpc},</if>
|
||||
<if test="productName != null">product_name = #{productName},</if>
|
||||
<if test="status != null">status = #{status},</if>
|
||||
<if test="remark != null">remark = #{remark},</if>
|
||||
<if test="attr1 != null">attr1 = #{attr1},</if>
|
||||
<if test="attr2 != null">attr2 = #{attr2},</if>
|
||||
<if test="attr3 != null">attr3 = #{attr3},</if>
|
||||
<if test="attr4 != null">attr4 = #{attr4},</if>
|
||||
<if test="createBy != null">create_by = #{createBy},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
<if test="factoryCode != null">factory_code = #{factoryCode},</if>
|
||||
</trim>
|
||||
where validate_id = #{validateId}
|
||||
</update>
|
||||
|
||||
<delete id="deleteMesPrepareValidateByValidateId" parameterType="String">
|
||||
delete from mes_prepare_validate where validate_id = #{validateId}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteMesPrepareValidateByValidateIds" parameterType="String">
|
||||
delete from mes_prepare_validate where validate_id in
|
||||
<foreach item="validateId" collection="array" open="(" separator="," close=")">
|
||||
#{validateId}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
Loading…
Reference in New Issue