新增主数据工种信息
This commit is contained in:
@@ -0,0 +1,77 @@
|
||||
package com.yunzhupaas.mdm.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import java.math.BigDecimal;
|
||||
import java.math.BigDecimal;
|
||||
import java.math.BigDecimal;
|
||||
/**
|
||||
* 工种基础信息表
|
||||
*
|
||||
* @版本: V5.2.7
|
||||
* @版权: Copyright @ 2025 深圳市乐程软件有限公司版权所有
|
||||
* @作者: 深圳市乐程软件有限公司
|
||||
* @日期: 2026-05-18
|
||||
*/
|
||||
@Data
|
||||
@TableName("mdm_work_type")
|
||||
public class WorkTypeEntity {
|
||||
@TableId(value ="work_type_id" )
|
||||
@JSONField(name = "work_type_id")
|
||||
private String workTypeId;
|
||||
@TableField(value = "work_type_code" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "work_type_code")
|
||||
private String workTypeCode;
|
||||
@TableField(value = "work_type_name" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "work_type_name")
|
||||
private String workTypeName;
|
||||
@TableField(value = "work_category_id" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "work_category_id")
|
||||
private String workCategoryId;
|
||||
@TableField(value = "skill_level" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "skill_level")
|
||||
private String skillLevel;
|
||||
@TableField(value = "unit" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "unit")
|
||||
private String unit;
|
||||
@TableField(value = "reference_unit_price" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "reference_unit_price")
|
||||
private BigDecimal referenceUnitPrice;
|
||||
@TableField(value = "price_lower_limit" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "price_lower_limit")
|
||||
private BigDecimal priceLowerLimit;
|
||||
@TableField(value = "price_upper_limit" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "price_upper_limit")
|
||||
private BigDecimal priceUpperLimit;
|
||||
@TableField(value = "work_description" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "work_description")
|
||||
private String workDescription;
|
||||
@TableField(value = "seq_num" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "seq_num")
|
||||
private Integer seqNum;
|
||||
@TableField(value = "remarks" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "remarks")
|
||||
private String remarks;
|
||||
@TableField(value = "f_tenant_id",fill = FieldFill.INSERT_UPDATE)
|
||||
@JSONField(name = "f_tenant_id")
|
||||
private String tenantId;
|
||||
@TableField("f_delete_mark")
|
||||
@JSONField(name = "f_delete_mark")
|
||||
private Integer deleteMark;
|
||||
@TableField("f_delete_time")
|
||||
@JSONField(name = "f_delete_time")
|
||||
private Date deleteTime;
|
||||
@TableField("f_delete_user_id")
|
||||
@JSONField(name = "f_delete_user_id")
|
||||
private String deleteUserId;
|
||||
@TableField("f_flow_id")
|
||||
@JSONField(name = "f_flow_id")
|
||||
private String flowId;
|
||||
@TableField("f_flow_task_id")
|
||||
@JSONField(name = "f_flow_task_id")
|
||||
private String flowTaskId;
|
||||
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,22 @@
|
||||
|
||||
|
||||
package com.yunzhupaas.mdm.model.worktype;
|
||||
|
||||
import lombok.Data;
|
||||
import cn.afterturn.easypoi.excel.annotation.Excel;
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
/**
|
||||
*
|
||||
* 工种信息
|
||||
* @版本: V5.2.7
|
||||
* @版权: Copyright @ 2025 深圳市乐程软件有限公司版权所有
|
||||
* @作者: 深圳市乐程软件有限公司
|
||||
* @日期: 2026-05-18
|
||||
*/
|
||||
@Data
|
||||
public class WorkTypeExcelErrorVO extends WorkTypeExcelVO{
|
||||
|
||||
@Excel(name = "异常原因",orderNum = "-999")
|
||||
@JSONField(name = "errorsInfo")
|
||||
private String errorsInfo;
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
package com.yunzhupaas.mdm.model.worktype;
|
||||
|
||||
import lombok.Data;
|
||||
import java.sql.Time;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import cn.afterturn.easypoi.excel.annotation.Excel;
|
||||
import cn.afterturn.easypoi.excel.annotation.ExcelEntity;
|
||||
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
/**
|
||||
*
|
||||
* 工种信息
|
||||
* @版本: V5.2.7
|
||||
* @版权: Copyright @ 2025 深圳市乐程软件有限公司版权所有
|
||||
* @作者: 深圳市乐程软件有限公司
|
||||
* @日期: 2026-05-18
|
||||
*/
|
||||
@Data
|
||||
public class WorkTypeExcelVO{
|
||||
/** 工种名称 **/
|
||||
@JSONField(name = "work_type_name")
|
||||
@Excel(name = "工种名称(work_type_name)",orderNum = "1", isImportField = "true" )
|
||||
private String work_type_name;
|
||||
|
||||
/** 工种分类 **/
|
||||
@JSONField(name = "work_category_id")
|
||||
@Excel(name = "工种分类(work_category_id)",orderNum = "1", isImportField = "true" )
|
||||
private String work_category_id;
|
||||
|
||||
/** 技能等级 **/
|
||||
@JSONField(name = "skill_level")
|
||||
@Excel(name = "技能等级(skill_level)",orderNum = "1", isImportField = "true" )
|
||||
private String skill_level;
|
||||
|
||||
/** 计价单位 **/
|
||||
@JSONField(name = "unit")
|
||||
@Excel(name = "计价单位(unit)",orderNum = "1", isImportField = "true" )
|
||||
private String unit;
|
||||
|
||||
/** 参考单价 **/
|
||||
@JSONField(name = "reference_unit_price")
|
||||
@Excel(name = "参考单价(reference_unit_price)",orderNum = "1", isImportField = "true" )
|
||||
private String reference_unit_price;
|
||||
|
||||
/** 单价下限 **/
|
||||
@JSONField(name = "price_lower_limit")
|
||||
@Excel(name = "单价下限(price_lower_limit)",orderNum = "1", isImportField = "true" )
|
||||
private String price_lower_limit;
|
||||
|
||||
/** 单价上限 **/
|
||||
@JSONField(name = "price_upper_limit")
|
||||
@Excel(name = "单价上限(price_upper_limit)",orderNum = "1", isImportField = "true" )
|
||||
private String price_upper_limit;
|
||||
|
||||
/** 排序号 **/
|
||||
@JSONField(name = "seq_num")
|
||||
@Excel(name = "排序号(seq_num)",orderNum = "1", isImportField = "true" )
|
||||
private String seq_num;
|
||||
|
||||
/** 工种描述 **/
|
||||
@JSONField(name = "work_description")
|
||||
@Excel(name = "工种描述(work_description)",orderNum = "1", isImportField = "true" )
|
||||
private String work_description;
|
||||
|
||||
/** 备注 **/
|
||||
@JSONField(name = "remarks")
|
||||
@Excel(name = "备注(remarks)",orderNum = "1", isImportField = "true" )
|
||||
private String remarks;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,82 @@
|
||||
package com.yunzhupaas.mdm.model.worktype;
|
||||
|
||||
import lombok.Data;
|
||||
import java.util.*;
|
||||
import java.math.BigDecimal;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
|
||||
/**
|
||||
* 工种信息
|
||||
* @版本: V5.2.7
|
||||
* @版权: Copyright @ 2025 深圳市乐程软件有限公司版权所有
|
||||
* @作者: 深圳市乐程软件有限公司
|
||||
* @日期: 2026-05-18
|
||||
*/
|
||||
@Data
|
||||
@Schema(description = "表单参数")
|
||||
public class WorkTypeForm {
|
||||
/** 主键 */
|
||||
@Schema(description = "主键")
|
||||
@JSONField(name = "work_type_id")
|
||||
private String workTypeId;
|
||||
|
||||
|
||||
/** 工种编码 **/
|
||||
@Schema(description = "工种编码")
|
||||
@JsonProperty("work_type_code")
|
||||
@JSONField(name = "work_type_code")
|
||||
private String workTypeCode;
|
||||
/** 工种名称 **/
|
||||
@Schema(description = "工种名称")
|
||||
@JsonProperty("work_type_name")
|
||||
@JSONField(name = "work_type_name")
|
||||
private String workTypeName;
|
||||
/** 工种分类 **/
|
||||
@Schema(description = "工种分类")
|
||||
@JsonProperty("work_category_id")
|
||||
@JSONField(name = "work_category_id")
|
||||
private Object workCategoryId;
|
||||
/** 技能等级 **/
|
||||
@Schema(description = "技能等级")
|
||||
@JsonProperty("skill_level")
|
||||
@JSONField(name = "skill_level")
|
||||
private Object skillLevel;
|
||||
/** 计价单位 **/
|
||||
@Schema(description = "计价单位")
|
||||
@JsonProperty("unit")
|
||||
@JSONField(name = "unit")
|
||||
private String unit;
|
||||
/** 参考单价 **/
|
||||
@Schema(description = "参考单价")
|
||||
@JsonProperty("reference_unit_price")
|
||||
@JSONField(name = "reference_unit_price")
|
||||
private BigDecimal referenceUnitPrice;
|
||||
/** 单价下限 **/
|
||||
@Schema(description = "单价下限")
|
||||
@JsonProperty("price_lower_limit")
|
||||
@JSONField(name = "price_lower_limit")
|
||||
private BigDecimal priceLowerLimit;
|
||||
/** 单价上限 **/
|
||||
@Schema(description = "单价上限")
|
||||
@JsonProperty("price_upper_limit")
|
||||
@JSONField(name = "price_upper_limit")
|
||||
private BigDecimal priceUpperLimit;
|
||||
/** 排序号 **/
|
||||
@Schema(description = "排序号")
|
||||
@JsonProperty("seq_num")
|
||||
@JSONField(name = "seq_num")
|
||||
private BigDecimal seqNum;
|
||||
/** 工种描述 **/
|
||||
@Schema(description = "工种描述")
|
||||
@JsonProperty("work_description")
|
||||
@JSONField(name = "work_description")
|
||||
private String workDescription;
|
||||
/** 备注 **/
|
||||
@Schema(description = "备注")
|
||||
@JsonProperty("remarks")
|
||||
@JSONField(name = "remarks")
|
||||
private String remarks;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
package com.yunzhupaas.mdm.model.worktype;
|
||||
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import lombok.Data;
|
||||
import com.yunzhupaas.base.Pagination;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* 工种信息
|
||||
* @版本: V5.2.7
|
||||
* @版权: Copyright @ 2025 深圳市乐程软件有限公司版权所有
|
||||
* @作者: 深圳市乐程软件有限公司
|
||||
* @日期: 2026-05-18
|
||||
*/
|
||||
@Data
|
||||
@Schema(description = "列表查询参数")
|
||||
public class WorkTypePagination extends Pagination {
|
||||
/** 关键词搜索 */
|
||||
@Schema(description = "关键词搜索")
|
||||
private String yunzhupaasKeyword;
|
||||
/** 查询key */
|
||||
@Schema(description = "查询key")
|
||||
private String[] selectKey;
|
||||
/** 选中数据数组id */
|
||||
@Schema(description = "选中数据数组id")
|
||||
private Object[] selectIds;
|
||||
/** json */
|
||||
@Schema(description = "json")
|
||||
private String json;
|
||||
/** 数据类型 0-当前页,1-全部数据 */
|
||||
@Schema(description = "数据类型 0-当前页,1-全部数据")
|
||||
private String dataType;
|
||||
/** 高级查询 */
|
||||
@Schema(description = "高级查询")
|
||||
private String superQueryJson;
|
||||
/** 功能id */
|
||||
@Schema(description = "功能id")
|
||||
private String moduleId;
|
||||
/** 菜单id */
|
||||
@Schema(description = "菜单id")
|
||||
private String menuId;
|
||||
/** 工种名称 */
|
||||
@Schema(description = "工种名称")
|
||||
@JsonProperty("work_type_name")
|
||||
@JSONField(name = "workTypeName")
|
||||
private Object workTypeName;
|
||||
/** 工种分类 */
|
||||
@Schema(description = "工种分类")
|
||||
@JsonProperty("work_category_id")
|
||||
@JSONField(name = "workCategoryId")
|
||||
private Object workCategoryId;
|
||||
}
|
||||
Reference in New Issue
Block a user