master
lzq 2026-01-06 18:20:36 +08:00
parent 148272f0bb
commit 0f1e69dc7f
37 changed files with 1734 additions and 324 deletions

View File

@ -0,0 +1,26 @@
package com.njzscloud.dispose.mfg.bom.constant;
import com.njzscloud.common.core.ienum.DictStr;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
/**
* mtl_type
*
*/
@Getter
@RequiredArgsConstructor
public enum MtlType implements DictStr {
YuanLiao("YuanLiao", "原料"),
FuChanPin("FuChanPin", "副产品"),
ZhuChanPin("ZhuChanPin", "主产品"),
;
private final String val;
private final String txt;
}

View File

@ -0,0 +1,66 @@
package com.njzscloud.dispose.mfg.bom.controller;
import com.njzscloud.common.core.utils.R;
import com.njzscloud.common.mp.support.PageParam;
import com.njzscloud.common.mp.support.PageResult;
import com.njzscloud.dispose.mfg.bom.pojo.entity.BomEntity;
import com.njzscloud.dispose.mfg.bom.service.BomService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
*
*/
@Slf4j
@RestController
@RequestMapping("/bom")
@RequiredArgsConstructor
public class BomController {
private final BomService bomService;
/**
*
*/
@PostMapping("/add")
public R<?> add(@RequestBody BomEntity bomEntity) {
bomService.add(bomEntity);
return R.success();
}
/**
*
*/
@PostMapping("/modify")
public R<?> modify(@RequestBody BomEntity bomEntity) {
bomService.modify(bomEntity);
return R.success();
}
/**
*
*/
@PostMapping("/del")
public R<?> del(@RequestBody List<Long> ids) {
bomService.del(ids);
return R.success();
}
/**
*
*/
@GetMapping("/detail")
public R<BomEntity> detail(@RequestParam("id") Long id) {
return R.success(bomService.detail(id));
}
/**
*
*/
@GetMapping("/paging")
public R<PageResult<BomEntity>> paging(PageParam pageParam, BomEntity bomEntity) {
return R.success(bomService.paging(pageParam, bomEntity));
}
}

View File

@ -0,0 +1,66 @@
package com.njzscloud.dispose.mfg.bom.controller;
import com.njzscloud.common.core.utils.R;
import com.njzscloud.common.mp.support.PageParam;
import com.njzscloud.common.mp.support.PageResult;
import com.njzscloud.dispose.mfg.bom.pojo.entity.BomDetailEntity;
import com.njzscloud.dispose.mfg.bom.service.BomDetailService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
*
*/
@Slf4j
@RestController
@RequestMapping("/bom_detail")
@RequiredArgsConstructor
public class BomDetailController {
private final BomDetailService bomDetailService;
/**
*
*/
@PostMapping("/add")
public R<?> add(@RequestBody BomDetailEntity bomDetailEntity) {
bomDetailService.add(bomDetailEntity);
return R.success();
}
/**
*
*/
@PostMapping("/modify")
public R<?> modify(@RequestBody BomDetailEntity bomDetailEntity) {
bomDetailService.modify(bomDetailEntity);
return R.success();
}
/**
*
*/
@PostMapping("/del")
public R<?> del(@RequestBody List<Long> ids) {
bomDetailService.del(ids);
return R.success();
}
/**
*
*/
@GetMapping("/detail")
public R<BomDetailEntity> detail(@RequestParam("id") Long id) {
return R.success(bomDetailService.detail(id));
}
/**
*
*/
@GetMapping("/paging")
public R<PageResult<BomDetailEntity>> paging(PageParam pageParam, BomDetailEntity bomDetailEntity) {
return R.success(bomDetailService.paging(pageParam, bomDetailEntity));
}
}

View File

@ -0,0 +1,12 @@
package com.njzscloud.dispose.mfg.bom.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.njzscloud.dispose.mfg.bom.pojo.entity.BomDetailEntity;
import org.apache.ibatis.annotations.Mapper;
/**
*
*/
@Mapper
public interface BomDetailMapper extends BaseMapper<BomDetailEntity> {
}

View File

@ -0,0 +1,12 @@
package com.njzscloud.dispose.mfg.bom.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.njzscloud.dispose.mfg.bom.pojo.entity.BomEntity;
import org.apache.ibatis.annotations.Mapper;
/**
*
*/
@Mapper
public interface BomMapper extends BaseMapper<BomEntity> {
}

View File

@ -0,0 +1,60 @@
package com.njzscloud.dispose.mfg.bom.pojo.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.njzscloud.dispose.mfg.bom.constant.MtlType;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.math.BigDecimal;
/**
*
*/
@Getter
@Setter
@ToString
@Accessors(chain = true)
@TableName("mfg_bom_detail")
public class BomDetailEntity {
/**
* Id
*/
@TableId(type = IdType.ASSIGN_ID)
private Long id;
/**
* Idmfg_bom.id
*/
private Long bomId;
/**
* Idgds_goods.id
*/
private Long goodsId;
/**
* YuanLiao-->FuChanPin-->ZhuChanPin-->
*/
private MtlType mtlType;
/**
* 0-->1-->
*/
private Boolean chu;
/**
* / 1
*/
private BigDecimal quantity;
/**
* 0-->1-->
*/
private Boolean mandatory;
}

View File

@ -0,0 +1,82 @@
package com.njzscloud.dispose.mfg.bom.pojo.entity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.time.LocalDateTime;
/**
*
*/
@Getter
@Setter
@ToString
@Accessors(chain = true)
@TableName("mfg_bom")
public class BomEntity {
/**
* Id
*/
@TableId(type = IdType.ASSIGN_ID)
private Long id;
/**
*
*/
private String sn;
/**
* Idgds_goods.id
*/
private Long goodId;
/**
*
*/
private String bomVer;
/**
* 0-->1-->
*/
private Boolean canuse;
/**
*
*/
private String memo;
/**
* Id sys_user.id
*/
@TableField(fill = FieldFill.INSERT)
private Long creatorId;
/**
* Id sys_user.id
*/
@TableField(fill = FieldFill.INSERT_UPDATE)
private Long modifierId;
/**
*
*/
@TableField(fill = FieldFill.INSERT)
private LocalDateTime createTime;
/**
*
*/
@TableField(fill = FieldFill.INSERT_UPDATE)
private LocalDateTime modifyTime;
/**
* 0-->1-->
*/
@TableLogic
private Boolean deleted;
}

View File

@ -0,0 +1,61 @@
package com.njzscloud.dispose.mfg.bom.pojo.result;
import com.njzscloud.dispose.mfg.bom.constant.MtlType;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.math.BigDecimal;
/**
*
*/
@Getter
@Setter
@ToString
@Accessors(chain = true)
public class SearchBomDetailResult {
/**
* Id
*/
private Long id;
/**
* Idmfg_bom.id
*/
private Long bomId;
/**
* Idgds_goods.id
*/
private Long goodsId;
/**
*
*/
private String goodsName;
/**
*
*/
private String goodsSn;
/**
* YuanLiao-->FuChanPin-->ZhuChanPin-->
*/
private MtlType mtlType;
/**
* 0-->1-->
*/
private Boolean chu;
/**
* / 1
*/
private BigDecimal quantity;
/**
* 0-->1-->
*/
private Boolean mandatory;
}

View File

@ -0,0 +1,58 @@
package com.njzscloud.dispose.mfg.bom.pojo.result;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.util.List;
/**
*
*/
@Getter
@Setter
@ToString
@Accessors(chain = true)
public class SearchBomResult {
/**
* Id
*/
private Long id;
/**
*
*/
private String sn;
/**
* Idgds_goods.id
*/
private Long goodId;
/**
*
*/
private String goodsName;
/**
*
*/
private String goodsSn;
/**
*
*/
private String bomVer;
/**
* 0-->1-->
*/
private Boolean canuse;
/**
*
*/
private String memo;
private List<SearchBomDetailResult> details;
}

View File

@ -0,0 +1,60 @@
package com.njzscloud.dispose.mfg.bom.service;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.njzscloud.common.mp.support.PageParam;
import com.njzscloud.common.mp.support.PageResult;
import com.njzscloud.dispose.mfg.bom.mapper.BomDetailMapper;
import com.njzscloud.dispose.mfg.bom.pojo.entity.BomDetailEntity;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
/**
*
*/
@Slf4j
@Service
@RequiredArgsConstructor
public class BomDetailService extends ServiceImpl<BomDetailMapper, BomDetailEntity> implements IService<BomDetailEntity> {
/**
*
*/
public void add(BomDetailEntity bomDetailEntity) {
this.save(bomDetailEntity);
}
/**
*
*/
public void modify(BomDetailEntity bomDetailEntity) {
this.updateById(bomDetailEntity);
}
/**
*
*/
@Transactional(rollbackFor = Exception.class)
public void del(List<Long> ids) {
this.removeBatchByIds(ids);
}
/**
*
*/
public BomDetailEntity detail(Long id) {
return this.getById(id);
}
/**
*
*/
public PageResult<BomDetailEntity> paging(PageParam pageParam, BomDetailEntity bomDetailEntity) {
return PageResult.of(this.page(pageParam.toPage(), Wrappers.<BomDetailEntity>query(bomDetailEntity)));
}
}

View File

@ -0,0 +1,60 @@
package com.njzscloud.dispose.mfg.bom.service;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.njzscloud.common.mp.support.PageParam;
import com.njzscloud.common.mp.support.PageResult;
import com.njzscloud.dispose.mfg.bom.mapper.BomMapper;
import com.njzscloud.dispose.mfg.bom.pojo.entity.BomEntity;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
/**
*
*/
@Slf4j
@Service
@RequiredArgsConstructor
public class BomService extends ServiceImpl<BomMapper, BomEntity> implements IService<BomEntity> {
/**
*
*/
public void add(BomEntity bomEntity) {
this.save(bomEntity);
}
/**
*
*/
public void modify(BomEntity bomEntity) {
this.updateById(bomEntity);
}
/**
*
*/
@Transactional(rollbackFor = Exception.class)
public void del(List<Long> ids) {
this.removeBatchByIds(ids);
}
/**
*
*/
public BomEntity detail(Long id) {
return this.getById(id);
}
/**
*
*/
public PageResult<BomEntity> paging(PageParam pageParam, BomEntity bomEntity) {
return PageResult.of(this.page(pageParam.toPage(), Wrappers.<BomEntity>query(bomEntity)));
}
}

View File

@ -0,0 +1,24 @@
package com.njzscloud.dispose.mfg.craft.constant;
import com.njzscloud.common.core.ienum.DictStr;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
/**
* craft_category
*
*/
@Getter
@RequiredArgsConstructor
public enum CraftCategory implements DictStr {
ZiDongHua("ZiDongHua", "自动化"),
RenGong("RenGong", "人工"),
;
private final String val;
private final String txt;
}

View File

@ -0,0 +1,69 @@
package com.njzscloud.dispose.mfg.craft.controller;
import com.njzscloud.common.core.utils.R;
import com.njzscloud.common.mp.support.PageParam;
import com.njzscloud.common.mp.support.PageResult;
import com.njzscloud.dispose.mfg.craft.pojo.entity.CraftEntity;
import com.njzscloud.dispose.mfg.craft.pojo.param.AddCraftParam;
import com.njzscloud.dispose.mfg.craft.pojo.param.SearchCraftParam;
import com.njzscloud.dispose.mfg.craft.pojo.result.SearchCraftResult;
import com.njzscloud.dispose.mfg.craft.service.CraftService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
*
*/
@Slf4j
@RestController
@RequestMapping("/craft")
@RequiredArgsConstructor
public class CraftController {
private final CraftService craftService;
/**
*
*/
@PostMapping("/add")
public R<?> add(@RequestBody AddCraftParam addCraftParam) {
craftService.add(addCraftParam);
return R.success();
}
/**
*
*/
@PostMapping("/modify")
public R<?> modify(@RequestBody CraftEntity craftEntity) {
craftService.modify(craftEntity);
return R.success();
}
/**
*
*/
@PostMapping("/del")
public R<?> del(@RequestBody List<Long> ids) {
craftService.del(ids);
return R.success();
}
/**
*
*/
@GetMapping("/detail")
public R<SearchCraftResult> detail(@RequestParam("id") Long id) {
return R.success(craftService.detail(id));
}
/**
*
*/
@GetMapping("/paging")
public R<PageResult<SearchCraftResult>> paging(PageParam pageParam, SearchCraftParam searchCraftParam) {
return R.success(craftService.paging(pageParam, searchCraftParam));
}
}

View File

@ -0,0 +1,66 @@
package com.njzscloud.dispose.mfg.craft.controller;
import com.njzscloud.common.core.utils.R;
import com.njzscloud.common.mp.support.PageParam;
import com.njzscloud.common.mp.support.PageResult;
import com.njzscloud.dispose.mfg.craft.pojo.entity.CraftOperationEntity;
import com.njzscloud.dispose.mfg.craft.service.CraftOperationService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
*
*/
@Slf4j
@RestController
@RequestMapping("/craft_operation")
@RequiredArgsConstructor
public class CraftOperationController {
private final CraftOperationService craftOperationService;
/**
*
*/
@PostMapping("/add")
public R<?> add(@RequestBody CraftOperationEntity craftOperationEntity) {
craftOperationService.add(craftOperationEntity);
return R.success();
}
/**
*
*/
@PostMapping("/modify")
public R<?> modify(@RequestBody CraftOperationEntity craftOperationEntity) {
craftOperationService.modify(craftOperationEntity);
return R.success();
}
/**
*
*/
@PostMapping("/del")
public R<?> del(@RequestBody List<Long> ids) {
craftOperationService.del(ids);
return R.success();
}
/**
*
*/
@GetMapping("/detail")
public R<CraftOperationEntity> detail(@RequestParam("id") Long id) {
return R.success(craftOperationService.detail(id));
}
/**
*
*/
@GetMapping("/paging")
public R<PageResult<CraftOperationEntity>> paging(PageParam pageParam, CraftOperationEntity craftOperationEntity) {
return R.success(craftOperationService.paging(pageParam, craftOperationEntity));
}
}

View File

@ -0,0 +1,87 @@
package com.njzscloud.dispose.mfg.craft.controller;
import com.njzscloud.common.core.utils.R;
import com.njzscloud.common.mp.support.PageParam;
import com.njzscloud.common.mp.support.PageResult;
import com.njzscloud.dispose.mfg.craft.pojo.entity.CraftWayEntity;
import com.njzscloud.dispose.mfg.craft.pojo.param.AddAllCraftWayParam;
import com.njzscloud.dispose.mfg.craft.pojo.result.SearchCraftWayResult;
import com.njzscloud.dispose.mfg.craft.service.CraftWayService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
* 线
*/
@Slf4j
@RestController
@RequestMapping("/craft_way")
@RequiredArgsConstructor
public class CraftWayController {
private final CraftWayService craftWayService;
/**
*
*/
@PostMapping("/add")
public R<?> add(@RequestBody CraftWayEntity craftWayEntity) {
craftWayService.add(craftWayEntity);
return R.success();
}
/**
*
*/
@PostMapping("/add_all")
public R<?> addAll(@RequestBody AddAllCraftWayParam addAllCraftWayParam) {
craftWayService.addAll(addAllCraftWayParam);
return R.success();
}
/**
*
*/
@PostMapping("/modify")
public R<?> modify(@RequestBody CraftWayEntity craftWayEntity) {
craftWayService.modify(craftWayEntity);
return R.success();
}
/**
*
*/
@PostMapping("/del")
public R<?> del(@RequestBody List<Long> ids) {
craftWayService.del(ids);
return R.success();
}
/**
*
*/
@GetMapping("/detail")
public R<CraftWayEntity> detail(@RequestParam("id") Long id) {
return R.success(craftWayService.detail(id));
}
/**
*
*/
@GetMapping("/paging")
public R<PageResult<CraftWayEntity>> paging(PageParam pageParam, CraftWayEntity craftWayEntity) {
return R.success(craftWayService.paging(pageParam, craftWayEntity));
}
/**
* 线
*/
@GetMapping("/list_all")
public R<List<SearchCraftWayResult>> listAll(Long craftId) {
return R.success(craftWayService.listAll(craftId));
}
}

View File

@ -0,0 +1,20 @@
package com.njzscloud.dispose.mfg.craft.mapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.njzscloud.dispose.mfg.craft.pojo.entity.CraftEntity;
import com.njzscloud.dispose.mfg.craft.pojo.result.SearchCraftResult;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
/**
*
*/
@Mapper
public interface CraftMapper extends BaseMapper<CraftEntity> {
SearchCraftResult detail(@Param("id") Long id);
IPage<SearchCraftResult> paging(Page<Object> page, @Param("ew") QueryWrapper<Object> ew);
}

View File

@ -0,0 +1,12 @@
package com.njzscloud.dispose.mfg.craft.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.njzscloud.dispose.mfg.craft.pojo.entity.CraftOperationEntity;
import org.apache.ibatis.annotations.Mapper;
/**
*
*/
@Mapper
public interface CraftOperationMapper extends BaseMapper<CraftOperationEntity> {
}

View File

@ -0,0 +1,24 @@
package com.njzscloud.dispose.mfg.craft.mapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.njzscloud.dispose.mfg.bom.pojo.result.SearchBomDetailResult;
import com.njzscloud.dispose.mfg.bom.pojo.result.SearchBomResult;
import com.njzscloud.dispose.mfg.craft.pojo.entity.CraftWayEntity;
import com.njzscloud.dispose.mfg.craft.pojo.result.SearchCraftOperationResult;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* 线
*/
@Mapper
public interface CraftWayMapper extends BaseMapper<CraftWayEntity> {
List<SearchCraftOperationResult> listOperations(@Param("ew") QueryWrapper<Object> ew);
List<SearchBomResult> listBom(@Param("ew") QueryWrapper<Object> ew);
List<SearchBomDetailResult> listBomDetail(@Param("ew") QueryWrapper<Object> ew);
}

View File

@ -0,0 +1,93 @@
package com.njzscloud.dispose.mfg.craft.pojo.entity;
import com.baomidou.mybatisplus.annotation.*;
import com.njzscloud.dispose.mfg.craft.constant.CraftCategory;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.time.LocalDateTime;
/**
*
*/
@Getter
@Setter
@ToString
@Accessors(chain = true)
@TableName("mfg_craft")
public class CraftEntity {
/**
* Id
*/
@TableId(type = IdType.ASSIGN_ID)
private Long id;
/**
*
*/
private String sn;
/**
* Id
*/
private Long goodsId;
/**
*
*/
private String craftName;
/**
*
*/
private String craftVer;
/**
* craft_categoryZiDongHua-->RenGong-->
*/
private CraftCategory craftCategory;
/**
* 0-->1-->
*/
private Boolean canuse;
/**
*
*/
private String memo;
/**
* Id sys_user.id
*/
@TableField(fill = FieldFill.INSERT)
private Long creatorId;
/**
* Id sys_user.id
*/
@TableField(fill = FieldFill.INSERT_UPDATE)
private Long modifierId;
/**
*
*/
@TableField(fill = FieldFill.INSERT)
private LocalDateTime createTime;
/**
*
*/
@TableField(fill = FieldFill.INSERT_UPDATE)
private LocalDateTime modifyTime;
/**
* 0-->1-->
*/
@TableLogic
private Boolean deleted;
}

View File

@ -0,0 +1,93 @@
package com.njzscloud.dispose.mfg.craft.pojo.entity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.math.BigDecimal;
import java.time.LocalDateTime;
/**
*
*/
@Getter
@Setter
@ToString
@Accessors(chain = true)
@TableName("mfg_craft_operation")
public class CraftOperationEntity {
/**
* Id
*/
@TableId(type = IdType.ASSIGN_ID)
private Long id;
/**
*
*/
private String sn;
/**
*
*/
private String operationName;
/**
* operation_category
*/
private String operationCategory;
/**
* N/
*/
private BigDecimal stdCycle;
/**
* 0-->1-->
*/
private Boolean checkPoint;
/**
* 0-->1-->
*/
private Boolean canuse;
/**
*
*/
private String memo;
/**
* Idsys_user.id
*/
@TableField(fill = FieldFill.INSERT)
private Long creatorId;
/**
* Idsys_user.id
*/
@TableField(fill = FieldFill.INSERT_UPDATE)
private Long modifierId;
/**
*
*/
@TableField(fill = FieldFill.INSERT)
private LocalDateTime createTime;
/**
*
*/
@TableField(fill = FieldFill.INSERT_UPDATE)
private LocalDateTime modifyTime;
/**
* 0-->1-->
*/
@TableLogic
private Boolean deleted;
}

View File

@ -0,0 +1,52 @@
package com.njzscloud.dispose.mfg.craft.pojo.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;
/**
* 线
*/
@Getter
@Setter
@ToString
@Accessors(chain = true)
@TableName("mfg_craft_way")
public class CraftWayEntity {
/**
* Id
*/
@TableId(type = IdType.ASSIGN_ID)
private Long id;
/**
* Id
*/
private Long craftId;
/**
* Idmfg_craft_operation.id
*/
private Long operationId;
/**
* Id
*/
private Long bomId;
/**
*
*/
private Integer step;
/**
*
*/
private String memo;
}

View File

@ -0,0 +1,28 @@
package com.njzscloud.dispose.mfg.craft.pojo.param;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.util.List;
@Getter
@Setter
@ToString
@Accessors(chain = true)
public class AddAllCraftWayParam {
/**
* Id
*/
@NotNull(message = "工艺不能为空")
private Long craftId;
/**
* 线
*/
@NotEmpty(message = "工艺路线不能为空")
private List<AddCraftWayParam> craftWayList;
}

View File

@ -0,0 +1,54 @@
package com.njzscloud.dispose.mfg.craft.pojo.param;
import com.njzscloud.dispose.mfg.craft.constant.CraftCategory;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;
/**
*
*/
@Getter
@Setter
@ToString
@Accessors(chain = true)
public class AddCraftParam {
/**
* Id
*/
@NotNull(message = "终产品不能为空")
private Long goodsId;
/**
*
*/
@NotBlank(message = "工艺名称不能为空")
private String craftName;
/**
*
*/
@NotBlank(message = "工艺版本号不能为空")
private String craftVer;
/**
* craft_categoryZiDongHua-->RenGong-->
*/
@NotNull(message = "工艺类型不能为空")
private CraftCategory craftCategory;
/**
* 0-->1-->
*/
@NotNull(message = "是否可用不能为空")
private Boolean canuse;
/**
*
*/
private String memo;
}

View File

@ -0,0 +1,41 @@
package com.njzscloud.dispose.mfg.craft.pojo.param;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;
/**
* 线
*/
@Getter
@Setter
@ToString
@Accessors(chain = true)
public class AddCraftWayParam {
/**
* Idmfg_craft_operation.id
*/
@NotNull(message = "工序不能为空")
private Long operationId;
/**
* Id
*/
@NotNull(message = "物料清单不能为空")
private Long bomId;
/**
*
*/
@NotNull(message = "步骤不能为空")
private Integer step;
/**
*
*/
private String memo;
}

View File

@ -0,0 +1,43 @@
package com.njzscloud.dispose.mfg.craft.pojo.param;
import com.njzscloud.dispose.mfg.craft.constant.CraftCategory;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;
/**
*
*/
@Getter
@Setter
@ToString
@Accessors(chain = true)
public class SearchCraftParam {
/**
*
*/
@NotBlank(message = "工艺名称不能为空")
private String craftName;
/**
*
*/
@NotBlank(message = "工艺版本号不能为空")
private String craftVer;
/**
* craft_categoryZiDongHua-->RenGong-->
*/
@NotNull(message = "工艺类型不能为空")
private CraftCategory craftCategory;
/**
* 0-->1-->
*/
@NotNull(message = "是否可用不能为空")
private Boolean canuse;
}

View File

@ -0,0 +1,58 @@
package com.njzscloud.dispose.mfg.craft.pojo.result;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.math.BigDecimal;
/**
*
*/
@Getter
@Setter
@ToString
@Accessors(chain = true)
public class SearchCraftOperationResult {
/**
* Id
*/
private Long id;
/**
*
*/
private String sn;
/**
*
*/
private String operationName;
/**
* operation_category
*/
private String operationCategory;
/**
* N/
*/
private BigDecimal stdCycle;
/**
* 0-->1-->
*/
private Boolean checkPoint;
/**
* 0-->1-->
*/
private Boolean canuse;
/**
*
*/
private String memo;
}

View File

@ -0,0 +1,59 @@
package com.njzscloud.dispose.mfg.craft.pojo.result;
import com.njzscloud.dispose.mfg.craft.constant.CraftCategory;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;
@Getter
@Setter
@ToString
@Accessors(chain = true)
public class SearchCraftResult {
private Long id;
/**
*
*/
private String sn;
/**
* Id
*/
private Long goodsId;
/**
*
*/
private String goodsName;
/**
*
*/
private String goodsSn;
/**
*
*/
private String craftName;
/**
*
*/
private String craftVer;
/**
* craft_categoryZiDongHua-->RenGong-->
*/
private CraftCategory craftCategory;
/**
* 0-->1-->
*/
private Boolean canuse;
/**
*
*/
private String memo;
}

View File

@ -0,0 +1,56 @@
package com.njzscloud.dispose.mfg.craft.pojo.result;
import com.njzscloud.dispose.mfg.bom.pojo.result.SearchBomResult;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;
/**
* 线
*/
@Getter
@Setter
@ToString
@Accessors(chain = true)
public class SearchCraftWayResult {
/**
* Id
*/
private Long id;
/**
* Id
*/
private Long craftId;
/**
* Idmfg_craft_operation.id
*/
private Long operationId;
/**
* Id
*/
private Long bomId;
/**
*
*/
private SearchCraftOperationResult operation;
/**
*
*/
private SearchBomResult bom;
/**
*
*/
private Integer step;
/**
*
*/
private String memo;
}

View File

@ -0,0 +1,60 @@
package com.njzscloud.dispose.mfg.craft.service;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.njzscloud.common.mp.support.PageParam;
import com.njzscloud.common.mp.support.PageResult;
import com.njzscloud.dispose.mfg.craft.mapper.CraftOperationMapper;
import com.njzscloud.dispose.mfg.craft.pojo.entity.CraftOperationEntity;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
/**
*
*/
@Slf4j
@Service
@RequiredArgsConstructor
public class CraftOperationService extends ServiceImpl<CraftOperationMapper, CraftOperationEntity> implements IService<CraftOperationEntity> {
/**
*
*/
public void add(CraftOperationEntity craftOperationEntity) {
this.save(craftOperationEntity);
}
/**
*
*/
public void modify(CraftOperationEntity craftOperationEntity) {
this.updateById(craftOperationEntity);
}
/**
*
*/
@Transactional(rollbackFor = Exception.class)
public void del(List<Long> ids) {
this.removeBatchByIds(ids);
}
/**
*
*/
public CraftOperationEntity detail(Long id) {
return this.getById(id);
}
/**
*
*/
public PageResult<CraftOperationEntity> paging(PageParam pageParam, CraftOperationEntity craftOperationEntity) {
return PageResult.of(this.page(pageParam.toPage(), Wrappers.<CraftOperationEntity>query(craftOperationEntity)));
}
}

View File

@ -0,0 +1,81 @@
package com.njzscloud.dispose.mfg.craft.service;
import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.lang.Assert;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.njzscloud.common.core.ex.Exceptions;
import com.njzscloud.common.mp.support.PageParam;
import com.njzscloud.common.mp.support.PageResult;
import com.njzscloud.common.sn.support.SnUtil;
import com.njzscloud.dispose.mfg.craft.mapper.CraftMapper;
import com.njzscloud.dispose.mfg.craft.pojo.entity.CraftEntity;
import com.njzscloud.dispose.mfg.craft.pojo.param.AddCraftParam;
import com.njzscloud.dispose.mfg.craft.pojo.param.SearchCraftParam;
import com.njzscloud.dispose.mfg.craft.pojo.result.SearchCraftResult;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
import java.util.Optional;
/**
*
*/
@Slf4j
@Service
@RequiredArgsConstructor
public class CraftService extends ServiceImpl<CraftMapper, CraftEntity> implements IService<CraftEntity> {
/**
*
*/
@Transactional(rollbackFor = Exception.class)
public void add(AddCraftParam addCraftParam) {
List<CraftEntity> list = this.list(Wrappers.<CraftEntity>lambdaQuery().eq(CraftEntity::getGoodsId, addCraftParam.getGoodsId()));
Optional<CraftEntity> optionalCraft = list.stream().filter(item -> item.getCraftVer().equals(addCraftParam.getCraftVer())).findFirst();
Assert.isFalse(optionalCraft.isPresent(), () -> Exceptions.exception("工艺版本号已存在"));
if (addCraftParam.getCanuse()) {
updateBatchById(list.stream().map(item -> item.setCanuse(false)).toList());
}
this.save(BeanUtil.copyProperties(addCraftParam, CraftEntity.class)
.setSn(SnUtil.next("Craft-SN"))
);
}
/**
*
*/
public void modify(CraftEntity craftEntity) {
this.updateById(craftEntity);
}
/**
*
*/
@Transactional(rollbackFor = Exception.class)
public void del(List<Long> ids) {
this.removeBatchByIds(ids);
}
/**
*
*/
public SearchCraftResult detail(Long id) {
return baseMapper.detail(id);
}
/**
*
*/
public PageResult<SearchCraftResult> paging(PageParam pageParam, SearchCraftParam searchCraftParam) {
return PageResult.of(baseMapper.paging(pageParam.toPage(), Wrappers.lambdaQuery()));
}
}

View File

@ -0,0 +1,102 @@
package com.njzscloud.dispose.mfg.craft.service;
import cn.hutool.core.bean.BeanUtil;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.njzscloud.common.core.utils.GroupUtil;
import com.njzscloud.common.mp.support.PageParam;
import com.njzscloud.common.mp.support.PageResult;
import com.njzscloud.dispose.mfg.bom.pojo.result.SearchBomDetailResult;
import com.njzscloud.dispose.mfg.bom.pojo.result.SearchBomResult;
import com.njzscloud.dispose.mfg.craft.mapper.CraftWayMapper;
import com.njzscloud.dispose.mfg.craft.pojo.entity.CraftWayEntity;
import com.njzscloud.dispose.mfg.craft.pojo.param.AddAllCraftWayParam;
import com.njzscloud.dispose.mfg.craft.pojo.result.SearchCraftOperationResult;
import com.njzscloud.dispose.mfg.craft.pojo.result.SearchCraftWayResult;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
/**
* 线
*/
@Slf4j
@Service
@RequiredArgsConstructor
public class CraftWayService extends ServiceImpl<CraftWayMapper, CraftWayEntity> implements IService<CraftWayEntity> {
/**
*
*/
public void add(CraftWayEntity craftWayEntity) {
this.save(craftWayEntity);
}
/**
*
*/
public void modify(CraftWayEntity craftWayEntity) {
this.updateById(craftWayEntity);
}
/**
*
*/
@Transactional(rollbackFor = Exception.class)
public void del(List<Long> ids) {
this.removeBatchByIds(ids);
}
/**
*
*/
public CraftWayEntity detail(Long id) {
return this.getById(id);
}
/**
*
*/
public PageResult<CraftWayEntity> paging(PageParam pageParam, CraftWayEntity craftWayEntity) {
return PageResult.of(this.page(pageParam.toPage(), Wrappers.<CraftWayEntity>query(craftWayEntity)));
}
@Transactional(rollbackFor = Exception.class)
public void addAll(AddAllCraftWayParam addAllCraftWayParam) {
Long craftId = addAllCraftWayParam.getCraftId();
this.remove(Wrappers.<CraftWayEntity>lambdaQuery().eq(CraftWayEntity::getCraftId, craftId));
List<CraftWayEntity> collect = addAllCraftWayParam.getCraftWayList()
.stream()
.map(it -> BeanUtil.copyProperties(it, CraftWayEntity.class).setCraftId(craftId))
.collect(Collectors.toList());
this.saveBatch(collect);
}
public List<SearchCraftWayResult> listAll(Long craftId) {
List<CraftWayEntity> craftWayEntityList = this.list(Wrappers.lambdaQuery(CraftWayEntity.class).eq(CraftWayEntity::getCraftId, craftId));
List<SearchCraftWayResult> collect = craftWayEntityList
.stream()
.map(it -> BeanUtil.copyProperties(it, SearchCraftWayResult.class))
.collect(Collectors.toList());
List<Long> operationIdList = craftWayEntityList.stream().map(CraftWayEntity::getOperationId).collect(Collectors.toList());
List<SearchCraftOperationResult> craftOperationResultList = baseMapper.listOperations(Wrappers.query().in("a.id", operationIdList));
Map<Long, SearchCraftOperationResult> map1 = GroupUtil.k_o(craftOperationResultList, SearchCraftOperationResult::getId);
for (SearchCraftWayResult searchCraftWayResult : collect) {
searchCraftWayResult.setOperation(map1.get(searchCraftWayResult.getOperationId()));
}
List<Long> bomIdList = craftWayEntityList.stream().map(CraftWayEntity::getBomId).collect(Collectors.toList());
List<SearchBomResult> bomList = baseMapper.listBom(Wrappers.query().in("a.id", bomIdList));
List<SearchBomDetailResult> bomDetailList = baseMapper.listBomDetail(Wrappers.query().in("a.id", bomIdList));
Map<Long, List<SearchBomDetailResult>> map2 = GroupUtil.k_a(bomDetailList, SearchBomDetailResult::getBomId);
for (SearchBomResult searchBomResult : bomList) {
searchBomResult.setDetails(map2.get(searchBomResult.getId()));
}
return collect;
}
}

View File

@ -0,0 +1,4 @@
<?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.njzscloud.dispose.mfg.bom.mapper.BomDetailMapper">
</mapper>

View File

@ -0,0 +1,4 @@
<?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.njzscloud.dispose.mfg.bom.mapper.BomMapper">
</mapper>

View File

@ -0,0 +1,31 @@
<?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.njzscloud.dispose.mfg.craft.mapper.CraftMapper">
<sql id="SearchCraftSql">
SELECT a.id,
a.sn,
a.goods_id,
a.craft_name,
a.craft_ver,
a.craft_category,
a.canuse,
a.memo,
a.create_time,
b.goods_name,
b.sn AS goods_sn
FROM mfg_craft a
INNER JOIN gds_goods b ON b.id = a.goods_id
</sql>
<select id="detail" resultType="com.njzscloud.dispose.mfg.craft.pojo.result.SearchCraftResult">
<include refid="SearchCraftSql"/>
WHERE a.id = #{id}
</select>
<select id="paging" resultType="com.njzscloud.dispose.mfg.craft.pojo.result.SearchCraftResult">
<include refid="SearchCraftSql"/>
<if test="ew.customSqlSegment != null and ew.customSqlSegment != ''">
${ew.customSqlSegment}
</if>
</select>
</mapper>

View File

@ -0,0 +1,4 @@
<?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.njzscloud.dispose.mfg.craft.mapper.CraftOperationMapper">
</mapper>

View File

@ -0,0 +1,4 @@
<?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.njzscloud.dispose.mfg.craft.mapper.CraftWayMapper">
</mapper>

View File

@ -39175,52 +39175,6 @@
"createdUserId": null, "createdUserId": null,
"dictItems": [] "dictItems": []
}, },
{
"id": "17AB1527-D2DB-4AF4-8468-BBFB792CC944",
"defKey": "bom_id",
"defName": "物料清单 Id",
"intro": "mfg_bom.id",
"baseDataType": "BIGINT",
"bizDomainType": "",
"dbDataType": "BIGINT",
"dataLen": "",
"numScale": "",
"primaryKey": 0,
"notNull": 1,
"autoIncrement": 0,
"defaultValue": "",
"stndDictId": "",
"stndFieldId": "",
"stndDictKey": "",
"stndFieldKey": "",
"stndComplianceLevel": "",
"stndComplianceType": "",
"dictFrom": "",
"dictItems": null,
"fieldTier": "",
"mark": null,
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"attr10": "",
"attr11": "",
"attr12": "",
"attr13": "",
"attr14": "",
"attr15": "",
"attr16": "",
"attr17": "",
"attr18": "",
"attr19": "",
"attr20": "",
"origin": "UI"
},
{ {
"id": "2AE67567-1B1A-466C-8681-913A43464EB2", "id": "2AE67567-1B1A-466C-8681-913A43464EB2",
"defKey": "operation_name", "defKey": "operation_name",
@ -39406,52 +39360,6 @@
"attr20": null, "attr20": null,
"origin": "PASTE" "origin": "PASTE"
}, },
{
"id": "481FF15E-5B3F-4D68-A9B6-5E899F99C3F4",
"defKey": "step",
"defName": "步骤",
"intro": "相同步骤的工序为并行工序",
"baseDataType": "INT",
"bizDomainType": "",
"dbDataType": "INT",
"dataLen": null,
"numScale": null,
"primaryKey": 0,
"notNull": 1,
"autoIncrement": 0,
"defaultValue": "",
"stndDictId": null,
"stndFieldId": null,
"stndDictKey": null,
"stndFieldKey": null,
"stndComplianceLevel": null,
"stndComplianceType": null,
"dictFrom": "",
"dictItems": [],
"fieldTier": "",
"mark": null,
"attr1": null,
"attr2": null,
"attr3": null,
"attr4": null,
"attr5": null,
"attr6": null,
"attr7": null,
"attr8": null,
"attr9": null,
"attr10": null,
"attr11": null,
"attr12": null,
"attr13": null,
"attr14": null,
"attr15": null,
"attr16": null,
"attr17": null,
"attr18": "PDManer",
"attr19": null,
"attr20": null,
"origin": "PASTE"
},
{ {
"id": "718EF98E-8C67-4467-8FEB-B30631A8C56F", "id": "718EF98E-8C67-4467-8FEB-B30631A8C56F",
"defKey": "canuse", "defKey": "canuse",
@ -40085,236 +39993,6 @@
"attr19": "", "attr19": "",
"attr20": "", "attr20": "",
"origin": "UI" "origin": "UI"
},
{
"id": "FBF7FBF4-A009-4927-9A02-E29A570B2AC1",
"defKey": "creator_id",
"defName": "创建人 Id",
"intro": "sys_user.id",
"baseDataType": "BIGINT",
"bizDomainType": "",
"dbDataType": "BIGINT",
"dataLen": "",
"numScale": "",
"primaryKey": 0,
"notNull": 1,
"autoIncrement": 0,
"defaultValue": "",
"stndDictId": "",
"stndFieldId": "",
"stndDictKey": "",
"stndFieldKey": "",
"stndComplianceLevel": "",
"stndComplianceType": "",
"dictFrom": "",
"dictItems": null,
"fieldTier": "",
"mark": null,
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"attr10": "",
"attr11": "",
"attr12": "",
"attr13": "",
"attr14": "",
"attr15": "",
"attr16": "",
"attr17": "",
"attr18": "PDManer",
"attr19": "",
"attr20": "",
"origin": "PASTE"
},
{
"id": "D8E1EC0E-DEAF-4E7E-9CFC-2C08CBCCC379",
"defKey": "modifier_id",
"defName": "修改人 Id",
"intro": " sys_user.id",
"baseDataType": "BIGINT",
"bizDomainType": "",
"dbDataType": "BIGINT",
"dataLen": "",
"numScale": "",
"primaryKey": 0,
"notNull": 1,
"autoIncrement": 0,
"defaultValue": "",
"stndDictId": "",
"stndFieldId": "",
"stndDictKey": "",
"stndFieldKey": "",
"stndComplianceLevel": "",
"stndComplianceType": "",
"dictFrom": "",
"dictItems": [],
"fieldTier": "",
"mark": null,
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"attr10": "",
"attr11": "",
"attr12": "",
"attr13": "",
"attr14": "",
"attr15": "",
"attr16": "",
"attr17": "",
"attr18": "PDManer",
"attr19": "",
"attr20": "",
"origin": "PASTE"
},
{
"id": "82F2DC35-0B85-4C2A-93AB-031FCC3D283A",
"defKey": "create_time",
"defName": "创建时间",
"intro": "",
"baseDataType": "DATETIME",
"bizDomainType": "",
"dbDataType": "DATETIME",
"dataLen": "",
"numScale": "",
"primaryKey": 0,
"notNull": 1,
"autoIncrement": 0,
"defaultValue": "",
"stndDictId": "",
"stndFieldId": "",
"stndDictKey": "",
"stndFieldKey": "",
"stndComplianceLevel": "",
"stndComplianceType": "",
"dictFrom": "",
"dictItems": [],
"fieldTier": "",
"mark": null,
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"attr10": "",
"attr11": "",
"attr12": "",
"attr13": "",
"attr14": "",
"attr15": "",
"attr16": "",
"attr17": "",
"attr18": "PDManer",
"attr19": "",
"attr20": "",
"origin": "PASTE"
},
{
"id": "D78B226E-E874-455D-8685-36F0997710F5",
"defKey": "modify_time",
"defName": "修改时间",
"intro": "",
"baseDataType": "DATETIME",
"bizDomainType": "",
"dbDataType": "DATETIME",
"dataLen": "",
"numScale": "",
"primaryKey": 0,
"notNull": 1,
"autoIncrement": 0,
"defaultValue": "",
"stndDictId": "",
"stndFieldId": "",
"stndDictKey": "",
"stndFieldKey": "",
"stndComplianceLevel": "",
"stndComplianceType": "",
"dictFrom": "",
"dictItems": [],
"fieldTier": "",
"mark": null,
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"attr10": "",
"attr11": "",
"attr12": "",
"attr13": "",
"attr14": "",
"attr15": "",
"attr16": "",
"attr17": "",
"attr18": "PDManer",
"attr19": "",
"attr20": "",
"origin": "PASTE"
},
{
"id": "D79B9DF6-2D44-41E5-852F-A2BF56A3D18E",
"defKey": "deleted",
"defName": "是否删除",
"intro": " 0-->未删除、1-->已删除",
"baseDataType": "TINYINT",
"bizDomainType": "",
"dbDataType": "TINYINT",
"dataLen": 1,
"numScale": "",
"primaryKey": 0,
"notNull": 1,
"autoIncrement": 0,
"defaultValue": "0",
"stndDictId": "",
"stndFieldId": "",
"stndDictKey": "",
"stndFieldKey": "",
"stndComplianceLevel": "",
"stndComplianceType": "",
"dictFrom": "",
"dictItems": [],
"fieldTier": "",
"mark": null,
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"attr10": "",
"attr11": "",
"attr12": "",
"attr13": "",
"attr14": "",
"attr15": "",
"attr16": "",
"attr17": "",
"attr18": "PDManer",
"attr19": "",
"attr20": "",
"origin": "PASTE"
} }
], ],
"correlations": null, "correlations": null,
@ -42459,7 +42137,7 @@
"readonly": false, "readonly": false,
"allowWs": false "allowWs": false
}, },
"updateTime": 1767582120955, "updateTime": 1767693314511,
"signature": "8b0147224327f003d919047195c70983", "signature": "41d1fbdc96c560fe7fa1949efeb758fe",
"branchId": "1111" "branchId": "1111"
} }