This commit is contained in:
cjw 2024-02-22 10:00:52 +08:00
commit 3665b4ff2d
5 changed files with 0 additions and 21 deletions

View File

@ -25,10 +25,6 @@ public class MesPlanDetail extends TreeEntity<MesPlanDetail> {
*/
@TableId(value = "id")
private Long id;
/**
* 祖级列表
*/
private String ancestors;
/**
* 主表id
*/
@ -42,5 +38,4 @@ public class MesPlanDetail extends TreeEntity<MesPlanDetail> {
*/
@TableLogic
private String delFlag;
}

View File

@ -27,11 +27,6 @@ public class MesPlanDetailBo extends TreeEntity<MesPlanDetailBo> {
@NotNull(message = "主键不能为空", groups = {EditGroup.class})
private Long id;
/**
* 祖级列表
*/
private String ancestors;
/**
* 主表id
*/

View File

@ -30,12 +30,6 @@ public class MesPlanDetailVo implements Serializable {
*/
@ExcelProperty(value = "父id")
private Long parentId;
/**
* 祖级列表
*/
private String ancestors;
/**
* 主表id
*/

View File

@ -38,8 +38,6 @@ public class MesPlanDetailServiceImpl implements IMesPlanDetailService {
private final IMesPlanRecordService recordService;
// public static final String TAB_PREFIX = " ";
/**
* 查询生产计划明细
*/
@ -84,7 +82,6 @@ public class MesPlanDetailServiceImpl implements IMesPlanDetailService {
MesPlanDetailVo actualVo = new MesPlanDetailVo();
actualVo.setId(planVo.getId());
actualVo.setName(planVo.getName());
actualVo.setAncestors(planVo.getAncestors());
actualVo.setParentId(planVo.getParentId());
actualVo.setMainId(planVo.getMainId());
actualVo.setFlag("actual");
@ -113,7 +110,6 @@ public class MesPlanDetailServiceImpl implements IMesPlanDetailService {
// Map<String, Object> params = bo.getParams();
LambdaQueryWrapper<MesPlanDetail> lqw = Wrappers.lambdaQuery();
lqw.eq(bo.getParentId() != null, MesPlanDetail::getParentId, bo.getParentId());
lqw.eq(bo.getAncestors() != null, MesPlanDetail::getAncestors, bo.getAncestors());
lqw.eq(bo.getMainId() != null, MesPlanDetail::getMainId, bo.getMainId());
lqw.like(StringUtils.isNotBlank(bo.getName()), MesPlanDetail::getName, bo.getName());
lqw.orderByAsc(MesPlanDetail::getId);

View File

@ -7,7 +7,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<resultMap type="com.ruoyi.mts.domain.MesPlanDetail" id="MesPlanDetailResult">
<result property="id" column="id"/>
<result property="parentId" column="parent_id"/>
<result property="ancestors" column="ancestors"/>
<result property="mainId" column="main_id"/>
<result property="name" column="name"/>
<result property="createBy" column="create_by"/>