| | |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.Date; |
| | | import java.util.*; |
| | | |
| | | import com.vincent.rsf.server.manager.service.BatchRegularService; |
| | | import com.vincent.rsf.server.manager.service.CompanysService; |
| | | import com.vincent.rsf.server.manager.service.MatnrGroupService; |
| | | import com.vincent.rsf.server.manager.service.ShipperService; |
| | | import lombok.experimental.Accessors; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.Date; |
| | |
| | | import com.vincent.rsf.server.system.entity.User; |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | @Data |
| | | @TableName("man_matnr") |
| | | @Accessors(chain = true) |
| | | @ApiModel(value = "Matnr", description = "物料所有基础属性") |
| | | public class Matnr implements Serializable { |
| | | |
| | |
| | | */ |
| | | @ApiModelProperty(value= "分组ID(*)") |
| | | private Long groupId; |
| | | |
| | | /** |
| | | * 字段标识 |
| | | */ |
| | | @ApiModelProperty(value = "字段标识") |
| | | private String fieldsIndex; |
| | | |
| | | /** |
| | | * 分组助记码 |
| | | */ |
| | | @ApiModelProperty(value = "分组助记码") |
| | | private String groupCode; |
| | | |
| | | /** |
| | | * 规则代码 |
| | |
| | | @TableLogic |
| | | private Integer deleted; |
| | | |
| | | @ApiModelProperty("动态扩展字段") |
| | | @TableField(exist = false) |
| | | private Map<String, String> extendFields; |
| | | |
| | | /** |
| | | * 租户 |
| | | */ |
| | |
| | | MatnrGroupService service = SpringUtils.getBean(MatnrGroupService.class); |
| | | MatnrGroup matnrGroup = service.getById(this.groupId); |
| | | if (!Cools.isEmpty(matnrGroup)){ |
| | | return String.valueOf(matnrGroup.getCode()); |
| | | return String.valueOf(matnrGroup.getName()); |
| | | } |
| | | return null; |
| | | } |
| | |
| | | } |
| | | } |
| | | |
| | | public String getIsLabelMange$(){ |
| | | public String getFlagLabelMange$(){ |
| | | if (null == this.flagLabelMange){ return null; } |
| | | switch (this.flagLabelMange){ |
| | | case 0: |