修改所有的字典值为String类型
This commit is contained in:
		| @ -1,13 +1,14 @@ | ||||
| package org.dromara.machinery.domain; | ||||
|  | ||||
| import org.dromara.common.mybatis.core.domain.BaseEntity; | ||||
| import com.baomidou.mybatisplus.annotation.*; | ||||
| import com.baomidou.mybatisplus.annotation.TableId; | ||||
| import com.baomidou.mybatisplus.annotation.TableLogic; | ||||
| import com.baomidou.mybatisplus.annotation.TableName; | ||||
| import lombok.Data; | ||||
| import lombok.EqualsAndHashCode; | ||||
| import java.util.Date; | ||||
| import com.fasterxml.jackson.annotation.JsonFormat; | ||||
| import org.dromara.common.mybatis.core.domain.BaseEntity; | ||||
|  | ||||
| import java.io.Serial; | ||||
| import java.util.Date; | ||||
|  | ||||
| /** | ||||
|  * 机械详情对象 bus_machinery_detail | ||||
| @ -47,12 +48,12 @@ public class BusMachineryDetail extends BaseEntity { | ||||
|     /** | ||||
|      * 施工类型状态(0正常 1停用) | ||||
|      */ | ||||
|     private Long status; | ||||
|     private String status; | ||||
|  | ||||
|     /** | ||||
|      * 0入场 1出场 | ||||
|      */ | ||||
|     private Long type; | ||||
|     private String type; | ||||
|  | ||||
|     /** | ||||
|      * 入场时间 | ||||
|  | ||||
| @ -1,62 +0,0 @@ | ||||
| package org.dromara.machinery.domain.bo; | ||||
|  | ||||
| import org.dromara.machinery.domain.BusMachinery; | ||||
| import org.dromara.common.mybatis.core.domain.BaseEntity; | ||||
| import org.dromara.common.core.validate.AddGroup; | ||||
| import org.dromara.common.core.validate.EditGroup; | ||||
| import io.github.linpeilie.annotations.AutoMapper; | ||||
| import lombok.Data; | ||||
| import lombok.EqualsAndHashCode; | ||||
| import jakarta.validation.constraints.*; | ||||
| import java.util.Date; | ||||
| import com.fasterxml.jackson.annotation.JsonFormat; | ||||
|  | ||||
| /** | ||||
|  * 机械业务对象 bus_machinery | ||||
|  * | ||||
|  * @author lcj | ||||
|  * @date 2025-03-07 | ||||
|  */ | ||||
| @Data | ||||
| @EqualsAndHashCode(callSuper = true) | ||||
| @AutoMapper(target = BusMachinery.class, reverseConvertGenerate = false) | ||||
| public class BusMachineryBo extends BaseEntity { | ||||
|  | ||||
|     /** | ||||
|      * 主键id | ||||
|      */ | ||||
|     @NotNull(message = "主键id不能为空", groups = { EditGroup.class }) | ||||
|     private Long id; | ||||
|  | ||||
|     /** | ||||
|      * 机械名称 | ||||
|      */ | ||||
|     private String machineryName; | ||||
|  | ||||
|     /** | ||||
|      * 机械型号 | ||||
|      */ | ||||
|     private String machineryNumber; | ||||
|  | ||||
|     /** | ||||
|      * 项目id | ||||
|      */ | ||||
|     private Long projectId; | ||||
|  | ||||
|     /** | ||||
|      * 数量 | ||||
|      */ | ||||
|     private Long number; | ||||
|  | ||||
|     /** | ||||
|      * 负责人 | ||||
|      */ | ||||
|     private String principal; | ||||
|  | ||||
|     /** | ||||
|      * 备注 | ||||
|      */ | ||||
|     private String remark; | ||||
|  | ||||
|  | ||||
| } | ||||
| @ -1,77 +0,0 @@ | ||||
| package org.dromara.machinery.domain.bo; | ||||
|  | ||||
| import org.dromara.machinery.domain.BusMachineryDetail; | ||||
| import org.dromara.common.mybatis.core.domain.BaseEntity; | ||||
| import org.dromara.common.core.validate.AddGroup; | ||||
| import org.dromara.common.core.validate.EditGroup; | ||||
| import io.github.linpeilie.annotations.AutoMapper; | ||||
| import lombok.Data; | ||||
| import lombok.EqualsAndHashCode; | ||||
| import jakarta.validation.constraints.*; | ||||
| import java.util.Date; | ||||
| import com.fasterxml.jackson.annotation.JsonFormat; | ||||
|  | ||||
| /** | ||||
|  * 机械详情业务对象 bus_machinery_detail | ||||
|  * | ||||
|  * @author lcj | ||||
|  * @date 2025-03-07 | ||||
|  */ | ||||
| @Data | ||||
| @EqualsAndHashCode(callSuper = true) | ||||
| @AutoMapper(target = BusMachineryDetail.class, reverseConvertGenerate = false) | ||||
| public class BusMachineryDetailBo extends BaseEntity { | ||||
|  | ||||
|     /** | ||||
|      * 主键id | ||||
|      */ | ||||
|     @NotNull(message = "主键id不能为空", groups = { EditGroup.class }) | ||||
|     private Long id; | ||||
|  | ||||
|     /** | ||||
|      * 检验证编号 | ||||
|      */ | ||||
|     private String checkoutNumber; | ||||
|  | ||||
|     /** | ||||
|      * 检验单位 | ||||
|      */ | ||||
|     private String checkoutUnit; | ||||
|  | ||||
|     /** | ||||
|      * 检定日期/有效期 | ||||
|      */ | ||||
|     private String checkoutDate; | ||||
|  | ||||
|     /** | ||||
|      * 施工类型状态(0正常 1停用) | ||||
|      */ | ||||
|     private Long status; | ||||
|  | ||||
|     /** | ||||
|      * 0入场 1出场 | ||||
|      */ | ||||
|     private Long type; | ||||
|  | ||||
|     /** | ||||
|      * 入场时间 | ||||
|      */ | ||||
|     private Date entryTime; | ||||
|  | ||||
|     /** | ||||
|      * 备注 | ||||
|      */ | ||||
|     private String remark; | ||||
|  | ||||
|     /** | ||||
|      * 图片(英文逗号分隔) | ||||
|      */ | ||||
|     private String picture; | ||||
|  | ||||
|     /** | ||||
|      * 机械主键id | ||||
|      */ | ||||
|     private Long machineryId; | ||||
|  | ||||
|  | ||||
| } | ||||
| @ -34,12 +34,12 @@ public class MachineryDetailCreateReq implements Serializable { | ||||
|     /** | ||||
|      * 施工类型状态(0正常 1停用) | ||||
|      */ | ||||
|     private Long status; | ||||
|     private String status; | ||||
|  | ||||
|     /** | ||||
|      * 0入场 1出场 | ||||
|      */ | ||||
|     private Long type; | ||||
|     private String type; | ||||
|  | ||||
|     /** | ||||
|      * 入场时间 | ||||
|  | ||||
| @ -42,12 +42,12 @@ public class MachineryDetailQueryReq extends PageRequest implements Serializable | ||||
|     /** | ||||
|      * 施工类型状态(0正常 1停用) | ||||
|      */ | ||||
|     private Long status; | ||||
|     private String status; | ||||
|  | ||||
|     /** | ||||
|      * 0入场 1出场 | ||||
|      */ | ||||
|     private Long type; | ||||
|     private String type; | ||||
|  | ||||
|     /** | ||||
|      * 入场时间 | ||||
|  | ||||
| @ -39,12 +39,12 @@ public class MachineryDetailUpdateReq implements Serializable { | ||||
|     /** | ||||
|      * 施工类型状态(0正常 1停用) | ||||
|      */ | ||||
|     private Long status; | ||||
|     private String status; | ||||
|  | ||||
|     /** | ||||
|      * 0入场 1出场 | ||||
|      */ | ||||
|     private Long type; | ||||
|     private String type; | ||||
|  | ||||
|     /** | ||||
|      * 入场时间 | ||||
|  | ||||
| @ -13,7 +13,6 @@ import java.io.Serializable; | ||||
| import java.util.Date; | ||||
|  | ||||
|  | ||||
|  | ||||
| /** | ||||
|  * 机械详情视图对象 bus_machinery_detail | ||||
|  * | ||||
| @ -57,13 +56,13 @@ public class BusMachineryDetailVo implements Serializable { | ||||
|      */ | ||||
|     @ExcelProperty(value = "施工类型状态", converter = ExcelDictConvert.class) | ||||
|     @ExcelDictFormat(readConverterExp = "0=正常,1=停用") | ||||
|     private Long status; | ||||
|     private String status; | ||||
|  | ||||
|     /** | ||||
|      * 0入场 1出场 | ||||
|      */ | ||||
|     @ExcelProperty(value = "0入场 1出场") | ||||
|     private Long type; | ||||
|     private String type; | ||||
|  | ||||
|     /** | ||||
|      * 入场时间 | ||||
|  | ||||
| @ -10,7 +10,6 @@ import java.io.Serial; | ||||
| import java.io.Serializable; | ||||
|  | ||||
|  | ||||
|  | ||||
| /** | ||||
|  * 机械视图对象 bus_machinery | ||||
|  * | ||||
|  | ||||
| @ -139,8 +139,8 @@ public class BusMachineryDetailServiceImpl extends ServiceImpl<BusMachineryDetai | ||||
|         if (machineryService.getById(machineryId) == null) { | ||||
|             throw new ServiceException("对应机械不存在", HttpStatus.BAD_REQUEST); | ||||
|         } | ||||
|         Long type = entity.getType(); | ||||
|         if (type == null) { | ||||
|         String type = entity.getType(); | ||||
|         if (StringUtils.isEmpty(type)) { | ||||
|             throw new ServiceException("请选择入场/出场", HttpStatus.BAD_REQUEST); | ||||
|         } | ||||
|     } | ||||
| @ -194,8 +194,8 @@ public class BusMachineryDetailServiceImpl extends ServiceImpl<BusMachineryDetai | ||||
|         String checkoutNumber = req.getCheckoutNumber(); | ||||
|         String checkoutUnit = req.getCheckoutUnit(); | ||||
|         String checkoutDate = req.getCheckoutDate(); | ||||
|         Long status = req.getStatus(); | ||||
|         Long type = req.getType(); | ||||
|         String status = req.getStatus(); | ||||
|         String type = req.getType(); | ||||
|         Date entryTime = req.getEntryTime(); | ||||
|         String remark = req.getRemark(); | ||||
|         Long machineryId = req.getMachineryId(); | ||||
|  | ||||
| @ -43,7 +43,7 @@ public class BusCompany extends BaseEntity { | ||||
|     /** | ||||
|      * 帐号状态(0正常 1停用) | ||||
|      */ | ||||
|     private Long status; | ||||
|     private String status; | ||||
|  | ||||
|     /** | ||||
|      * 备注 | ||||
|  | ||||
| @ -1,15 +1,14 @@ | ||||
| package org.dromara.materials.domain; | ||||
|  | ||||
| import org.dromara.common.mybatis.core.domain.BaseEntity; | ||||
| import com.baomidou.mybatisplus.annotation.*; | ||||
| import com.baomidou.mybatisplus.annotation.TableId; | ||||
| import com.baomidou.mybatisplus.annotation.TableLogic; | ||||
| import com.baomidou.mybatisplus.annotation.TableName; | ||||
| import lombok.Data; | ||||
| import lombok.EqualsAndHashCode; | ||||
|  | ||||
| import java.util.Date; | ||||
|  | ||||
| import com.fasterxml.jackson.annotation.JsonFormat; | ||||
| import org.dromara.common.mybatis.core.domain.BaseEntity; | ||||
|  | ||||
| import java.io.Serial; | ||||
| import java.util.Date; | ||||
|  | ||||
| /** | ||||
|  * 材料名称对象 bus_materials | ||||
| @ -119,7 +118,7 @@ public class BusMaterials extends BaseEntity { | ||||
|     /** | ||||
|      * 状态(0正常 1停用) | ||||
|      */ | ||||
|     private Long status; | ||||
|     private String status; | ||||
|  | ||||
|     /** | ||||
|      * 删除时间 | ||||
|  | ||||
| @ -1,15 +1,14 @@ | ||||
| package org.dromara.materials.domain; | ||||
|  | ||||
| import org.dromara.common.mybatis.core.domain.BaseEntity; | ||||
| import com.baomidou.mybatisplus.annotation.*; | ||||
| import com.baomidou.mybatisplus.annotation.TableId; | ||||
| import com.baomidou.mybatisplus.annotation.TableLogic; | ||||
| import com.baomidou.mybatisplus.annotation.TableName; | ||||
| import lombok.Data; | ||||
| import lombok.EqualsAndHashCode; | ||||
|  | ||||
| import java.util.Date; | ||||
|  | ||||
| import com.fasterxml.jackson.annotation.JsonFormat; | ||||
| import org.dromara.common.mybatis.core.domain.BaseEntity; | ||||
|  | ||||
| import java.io.Serial; | ||||
| import java.util.Date; | ||||
|  | ||||
| /** | ||||
|  * 材料出/入库对象 bus_materials_inventory | ||||
| @ -44,7 +43,7 @@ public class BusMaterialsInventory extends BaseEntity { | ||||
|     /** | ||||
|      * 出入库状态 | ||||
|      */ | ||||
|     private Long outPut; | ||||
|     private String outPut; | ||||
|  | ||||
|     /** | ||||
|      * 出/入库的数量 | ||||
|  | ||||
| @ -36,7 +36,7 @@ public class CompanyQueryReq extends PageRequest implements Serializable { | ||||
|     /** | ||||
|      * 帐号状态(0正常 1停用) | ||||
|      */ | ||||
|     private Long status; | ||||
|     private String status; | ||||
|  | ||||
|     /** | ||||
|      * 备注 | ||||
|  | ||||
| @ -33,7 +33,7 @@ public class CompanyUpdateReq implements Serializable { | ||||
|     /** | ||||
|      * 帐号状态(0正常 1停用) | ||||
|      */ | ||||
|     private Long status; | ||||
|     private String status; | ||||
|  | ||||
|     /** | ||||
|      * 备注 | ||||
|  | ||||
| @ -61,6 +61,6 @@ public class MaterialsQueryReq extends PageRequest implements Serializable { | ||||
|     /** | ||||
|      * 状态(0正常 1停用) | ||||
|      */ | ||||
|     private Long status; | ||||
|     private String status; | ||||
|  | ||||
| } | ||||
|  | ||||
| @ -108,6 +108,6 @@ public class MaterialsUpdateReq implements Serializable { | ||||
|     /** | ||||
|      * 状态(0正常 1停用) | ||||
|      */ | ||||
|     private Long status; | ||||
|     private String status; | ||||
|  | ||||
| } | ||||
|  | ||||
| @ -29,7 +29,7 @@ public class MaterialsInventoryCreateReq implements Serializable { | ||||
|     /** | ||||
|      * 出入库状态 | ||||
|      */ | ||||
|     private Long outPut; | ||||
|     private String outPut; | ||||
|  | ||||
|     /** | ||||
|      * 出/入库的数量 | ||||
|  | ||||
| @ -37,7 +37,7 @@ public class MaterialsInventoryQueryReq extends PageRequest implements Serializa | ||||
|     /** | ||||
|      * 出入库状态 | ||||
|      */ | ||||
|     private Long outPut; | ||||
|     private String outPut; | ||||
|  | ||||
|     /** | ||||
|      * 出/入库的数量 | ||||
|  | ||||
| @ -34,7 +34,7 @@ public class MaterialsInventoryUpdateReq implements Serializable { | ||||
|     /** | ||||
|      * 出入库状态 | ||||
|      */ | ||||
|     private Long outPut; | ||||
|     private String outPut; | ||||
|  | ||||
|     /** | ||||
|      * 出/入库的数量 | ||||
|  | ||||
| @ -1,18 +1,15 @@ | ||||
| package org.dromara.materials.domain.vo; | ||||
|  | ||||
| import java.util.Date; | ||||
| import com.fasterxml.jackson.annotation.JsonFormat; | ||||
| import org.dromara.materials.domain.BusCompany; | ||||
| import com.alibaba.excel.annotation.ExcelIgnoreUnannotated; | ||||
| import com.alibaba.excel.annotation.ExcelProperty; | ||||
| import org.dromara.common.excel.annotation.ExcelDictFormat; | ||||
| import org.dromara.common.excel.convert.ExcelDictConvert; | ||||
| import io.github.linpeilie.annotations.AutoMapper; | ||||
| import lombok.Data; | ||||
| import org.dromara.common.excel.annotation.ExcelDictFormat; | ||||
| import org.dromara.common.excel.convert.ExcelDictConvert; | ||||
| import org.dromara.materials.domain.BusCompany; | ||||
|  | ||||
| import java.io.Serial; | ||||
| import java.io.Serializable; | ||||
| import java.util.Date; | ||||
|  | ||||
|  | ||||
|  | ||||
| @ -53,7 +50,7 @@ public class BusCompanyVo implements Serializable { | ||||
|      */ | ||||
|     @ExcelProperty(value = "帐号状态", converter = ExcelDictConvert.class) | ||||
|     @ExcelDictFormat(readConverterExp = "0=正常,1=停用") | ||||
|     private Long status; | ||||
|     private String status; | ||||
|  | ||||
|     /** | ||||
|      * 备注 | ||||
|  | ||||
| @ -1,15 +1,12 @@ | ||||
| package org.dromara.materials.domain.vo; | ||||
|  | ||||
| import java.util.Date; | ||||
|  | ||||
| import com.fasterxml.jackson.annotation.JsonFormat; | ||||
| import org.dromara.materials.domain.BusMaterialsInventory; | ||||
| import com.alibaba.excel.annotation.ExcelIgnoreUnannotated; | ||||
| import com.alibaba.excel.annotation.ExcelProperty; | ||||
| import org.dromara.common.excel.annotation.ExcelDictFormat; | ||||
| import org.dromara.common.excel.convert.ExcelDictConvert; | ||||
| import io.github.linpeilie.annotations.AutoMapper; | ||||
| import lombok.Data; | ||||
| import org.dromara.common.excel.annotation.ExcelDictFormat; | ||||
| import org.dromara.common.excel.convert.ExcelDictConvert; | ||||
| import org.dromara.materials.domain.BusMaterialsInventory; | ||||
|  | ||||
| import java.io.Serial; | ||||
| import java.io.Serializable; | ||||
| @ -58,7 +55,7 @@ public class BusMaterialsInventoryVo implements Serializable { | ||||
|      * 出入库状态 | ||||
|      */ | ||||
|     @ExcelProperty(value = "出入库状态") | ||||
|     private Long outPut; | ||||
|     private String outPut; | ||||
|  | ||||
|     /** | ||||
|      * 出/入库的数量 | ||||
|  | ||||
| @ -145,7 +145,7 @@ public class BusMaterialsVo implements Serializable { | ||||
|      */ | ||||
|     @ExcelProperty(value = "状态", converter = ExcelDictConvert.class) | ||||
|     @ExcelDictFormat(readConverterExp = "0=正常,1=停用") | ||||
|     private Long status; | ||||
|     private String status; | ||||
|  | ||||
|  | ||||
| } | ||||
|  | ||||
| @ -181,7 +181,7 @@ public class BusCompanyServiceImpl extends ServiceImpl<BusCompanyMapper, BusComp | ||||
|         Long id = req.getId(); | ||||
|         String companyName = req.getCompanyName(); | ||||
|         Long projectId = req.getProjectId(); | ||||
|         Long status = req.getStatus(); | ||||
|         String status = req.getStatus(); | ||||
|         String remark = req.getRemark(); | ||||
|         String qualification = req.getQualification(); | ||||
|         String sortField = req.getSortField(); | ||||
|  | ||||
| @ -140,7 +140,7 @@ public class BusMaterialsInventoryServiceImpl extends ServiceImpl<BusMaterialsIn | ||||
|         // TODO 做一些数据校验,如唯一约束 | ||||
|         Long materialsId = entity.getMaterialsId(); | ||||
|         Long projectId = entity.getProjectId(); | ||||
|         Long outPut = entity.getOutPut(); | ||||
|         String outPut = entity.getOutPut(); | ||||
|         if (materialsId == null) { | ||||
|             throw new ServiceException("材料信息 id 不能为空", HttpStatus.BAD_REQUEST); | ||||
|         } | ||||
| @ -153,7 +153,7 @@ public class BusMaterialsInventoryServiceImpl extends ServiceImpl<BusMaterialsIn | ||||
|         if (projectService.getById(projectId) == null) { | ||||
|             throw new ServiceException("对应项目不存在", HttpStatus.BAD_REQUEST); | ||||
|         } | ||||
|         if (outPut == null) { | ||||
|         if (StringUtils.isEmpty(outPut)) { | ||||
|             throw new ServiceException("出入库状态不能为空", HttpStatus.BAD_REQUEST); | ||||
|         } | ||||
|     } | ||||
| @ -211,7 +211,7 @@ public class BusMaterialsInventoryServiceImpl extends ServiceImpl<BusMaterialsIn | ||||
|         Long id = req.getId(); | ||||
|         Long materialsId = req.getMaterialsId(); | ||||
|         Long projectId = req.getProjectId(); | ||||
|         Long outPut = req.getOutPut(); | ||||
|         String outPut = req.getOutPut(); | ||||
|         Long number = req.getNumber(); | ||||
|         Date outPutTime = req.getOutPutTime(); | ||||
|         Long residue = req.getResidue(); | ||||
|  | ||||
| @ -213,7 +213,7 @@ public class BusMaterialsServiceImpl extends ServiceImpl<BusMaterialsMapper, Bus | ||||
|         String weightId = req.getWeightId(); | ||||
|         String remark = req.getRemark(); | ||||
|         String quantityCount = req.getQuantityCount(); | ||||
|         Long status = req.getStatus(); | ||||
|         String status = req.getStatus(); | ||||
|         String sortField = req.getSortField(); | ||||
|         String sortOrder = req.getSortOrder(); | ||||
|         String underlineSortField = StrUtil.toUnderlineCase(sortField); | ||||
|  | ||||
| @ -68,7 +68,7 @@ public class BusConstructionUser extends BaseEntity { | ||||
|     /** | ||||
|      * 状态(0在职 1离职) | ||||
|      */ | ||||
|     private Long status; | ||||
|     private String status; | ||||
|  | ||||
|     /** | ||||
|      * 是否代打 | ||||
| @ -138,12 +138,12 @@ public class BusConstructionUser extends BaseEntity { | ||||
|     /** | ||||
|      * 工种(字典type_of_work) | ||||
|      */ | ||||
|     private Long typeOfWork; | ||||
|     private String typeOfWork; | ||||
|  | ||||
|     /** | ||||
|      * 打卡(0启用打卡 1禁止打卡) | ||||
|      */ | ||||
|     private Long clock; | ||||
|     private String clock; | ||||
|  | ||||
|     /** | ||||
|      * 入场时间 | ||||
|  | ||||
| @ -48,7 +48,7 @@ public class BusProject extends BaseEntity { | ||||
|     /** | ||||
|      * 状态(0正常 1停用) | ||||
|      */ | ||||
|     private Long status; | ||||
|     private String status; | ||||
|  | ||||
|     /** | ||||
|      * 项目图片 | ||||
| @ -78,7 +78,7 @@ public class BusProject extends BaseEntity { | ||||
|     /** | ||||
|      * 项目类型(1光伏 2风电) | ||||
|      */ | ||||
|     private Long isType; | ||||
|     private String isType; | ||||
|  | ||||
|     /** | ||||
|      * 删除时间 | ||||
| @ -138,7 +138,7 @@ public class BusProject extends BaseEntity { | ||||
|     /** | ||||
|      * 显示隐藏(0显示 1隐藏) | ||||
|      */ | ||||
|     private Long showHidden; | ||||
|     private String showHidden; | ||||
|  | ||||
|     /** | ||||
|      * 是否删除(0正常 1删除) | ||||
|  | ||||
| @ -43,7 +43,7 @@ public class BusProjectTeam extends BaseEntity { | ||||
|     /** | ||||
|      * 范围内打卡(0范围内打卡 1任何地点打卡)默认为1 | ||||
|      */ | ||||
|     private Long isClockIn; | ||||
|     private String isClockIn; | ||||
|  | ||||
|     /** | ||||
|      * 备注 | ||||
|  | ||||
| @ -45,7 +45,7 @@ public class BusProjectTeamMember implements Serializable { | ||||
|     /** | ||||
|      * 岗位(默认为0普通员工,1组长) | ||||
|      */ | ||||
|     private Long postId; | ||||
|     private String postId; | ||||
|  | ||||
|     /** | ||||
|      * 备注 | ||||
|  | ||||
| @ -53,7 +53,7 @@ public class ConstructionUserCreateReq implements Serializable { | ||||
|     /** | ||||
|      * 状态(0在职 1离职) | ||||
|      */ | ||||
|     private Long status; | ||||
|     private String status; | ||||
|  | ||||
|     /** | ||||
|      * 是否代打 | ||||
| @ -123,12 +123,12 @@ public class ConstructionUserCreateReq implements Serializable { | ||||
|     /** | ||||
|      * 工种(字典type_of_work) | ||||
|      */ | ||||
|     private Long typeOfWork; | ||||
|     private String typeOfWork; | ||||
|  | ||||
|     /** | ||||
|      * 打卡(0启用打卡 1禁止打卡) | ||||
|      */ | ||||
|     private Long clock; | ||||
|     private String clock; | ||||
|  | ||||
|     /** | ||||
|      * 入场时间 | ||||
|  | ||||
| @ -61,7 +61,7 @@ public class ConstructionUserQueryReq extends PageRequest implements Serializabl | ||||
|     /** | ||||
|      * 状态(0在职 1离职) | ||||
|      */ | ||||
|     private Long status; | ||||
|     private String status; | ||||
|  | ||||
|     /** | ||||
|      * 是否代打 | ||||
| @ -131,12 +131,12 @@ public class ConstructionUserQueryReq extends PageRequest implements Serializabl | ||||
|     /** | ||||
|      * 工种(字典type_of_work) | ||||
|      */ | ||||
|     private Long typeOfWork; | ||||
|     private String typeOfWork; | ||||
|  | ||||
|     /** | ||||
|      * 打卡(0启用打卡 1禁止打卡) | ||||
|      */ | ||||
|     private Long clock; | ||||
|     private String clock; | ||||
|  | ||||
|     /** | ||||
|      * 薪水 | ||||
|  | ||||
| @ -58,7 +58,7 @@ public class ConstructionUserUpdateReq implements Serializable { | ||||
|     /** | ||||
|      * 状态(0在职 1离职) | ||||
|      */ | ||||
|     private Long status; | ||||
|     private String status; | ||||
|  | ||||
|     /** | ||||
|      * 是否代打 | ||||
| @ -128,12 +128,12 @@ public class ConstructionUserUpdateReq implements Serializable { | ||||
|     /** | ||||
|      * 工种(字典type_of_work) | ||||
|      */ | ||||
|     private Long typeOfWork; | ||||
|     private String typeOfWork; | ||||
|  | ||||
|     /** | ||||
|      * 打卡(0启用打卡 1禁止打卡) | ||||
|      */ | ||||
|     private Long clock; | ||||
|     private String clock; | ||||
|  | ||||
|     /** | ||||
|      * 入场时间 | ||||
|  | ||||
| @ -58,7 +58,7 @@ public class ProjectCreateReq implements Serializable { | ||||
|     /** | ||||
|      * 项目类型(1光伏 2风电) | ||||
|      */ | ||||
|     private Long isType; | ||||
|     private String isType; | ||||
|  | ||||
|     /** | ||||
|      * 项目地址 | ||||
| @ -113,5 +113,5 @@ public class ProjectCreateReq implements Serializable { | ||||
|     /** | ||||
|      * 显示隐藏(0显示 1隐藏) | ||||
|      */ | ||||
|     private Long showHidden; | ||||
|     private String showHidden; | ||||
| } | ||||
|  | ||||
| @ -41,7 +41,7 @@ public class ProjectQueryReq extends PageRequest implements Serializable { | ||||
|     /** | ||||
|      * 状态(0正常 1停用) | ||||
|      */ | ||||
|     private Long status; | ||||
|     private String status; | ||||
|  | ||||
|     /** | ||||
|      * 经度 | ||||
| @ -66,7 +66,7 @@ public class ProjectQueryReq extends PageRequest implements Serializable { | ||||
|     /** | ||||
|      * 项目类型(1光伏 2风电) | ||||
|      */ | ||||
|     private Long isType; | ||||
|     private String isType; | ||||
|  | ||||
|     /** | ||||
|      * 项目地址 | ||||
| @ -111,5 +111,5 @@ public class ProjectQueryReq extends PageRequest implements Serializable { | ||||
|     /** | ||||
|      * 显示隐藏(0显示 1隐藏) | ||||
|      */ | ||||
|     private Long showHidden; | ||||
|     private String showHidden; | ||||
| } | ||||
|  | ||||
| @ -38,7 +38,7 @@ public class ProjectUpdateReq implements Serializable { | ||||
|     /** | ||||
|      * 状态(0正常 1停用) | ||||
|      */ | ||||
|     private Long status; | ||||
|     private String status; | ||||
|  | ||||
|     /** | ||||
|      * 项目图片 | ||||
| @ -68,7 +68,7 @@ public class ProjectUpdateReq implements Serializable { | ||||
|     /** | ||||
|      * 项目类型(1光伏 2风电) | ||||
|      */ | ||||
|     private Long isType; | ||||
|     private String isType; | ||||
|  | ||||
|     /** | ||||
|      * 项目地址 | ||||
| @ -118,5 +118,5 @@ public class ProjectUpdateReq implements Serializable { | ||||
|     /** | ||||
|      * 显示隐藏(0显示 1隐藏) | ||||
|      */ | ||||
|     private Long showHidden; | ||||
|     private String showHidden; | ||||
| } | ||||
|  | ||||
| @ -28,7 +28,7 @@ public class ProjectTeamCreateReq implements Serializable { | ||||
|     /** | ||||
|      * 范围内打卡(0范围内打卡 1任何地点打卡)默认为1 | ||||
|      */ | ||||
|     private Long isClockIn; | ||||
|     private String isClockIn; | ||||
|  | ||||
|     /** | ||||
|      * 备注 | ||||
|  | ||||
| @ -36,7 +36,7 @@ public class ProjectTeamQueryReq extends PageRequest implements Serializable { | ||||
|     /** | ||||
|      * 范围内打卡(0范围内打卡 1任何地点打卡)默认为1 | ||||
|      */ | ||||
|     private Long isClockIn; | ||||
|     private String isClockIn; | ||||
|  | ||||
|     /** | ||||
|      * 备注 | ||||
|  | ||||
| @ -33,7 +33,7 @@ public class ProjectTeamUpdateReq implements Serializable { | ||||
|     /** | ||||
|      * 范围内打卡(0范围内打卡 1任何地点打卡)默认为1 | ||||
|      */ | ||||
|     private Long isClockIn; | ||||
|     private String isClockIn; | ||||
|  | ||||
|     /** | ||||
|      * 备注 | ||||
|  | ||||
| @ -33,7 +33,7 @@ public class ProjectTeamMemberCreateReq implements Serializable { | ||||
|     /** | ||||
|      * 岗位(默认为0普通员工,1组长) | ||||
|      */ | ||||
|     private Long postId; | ||||
|     private String postId; | ||||
|  | ||||
|     /** | ||||
|      * 备注 | ||||
|  | ||||
| @ -41,7 +41,7 @@ public class ProjectTeamMemberQueryReq extends PageRequest implements Serializab | ||||
|     /** | ||||
|      * 岗位(默认为0普通员工,1组长) | ||||
|      */ | ||||
|     private Long postId; | ||||
|     private String postId; | ||||
|  | ||||
|     /** | ||||
|      * 备注 | ||||
|  | ||||
| @ -38,7 +38,7 @@ public class ProjectTeamMemberUpdateReq implements Serializable { | ||||
|     /** | ||||
|      * 岗位(默认为0普通员工,1组长) | ||||
|      */ | ||||
|     private Long postId; | ||||
|     private String postId; | ||||
|  | ||||
|     /** | ||||
|      * 备注 | ||||
|  | ||||
| @ -85,7 +85,7 @@ public class BusConstructionUserVo implements Serializable { | ||||
|      */ | ||||
|     @ExcelProperty(value = "状态", converter = ExcelDictConvert.class) | ||||
|     @ExcelDictFormat(readConverterExp = "0=在职,1=离职") | ||||
|     private Long status; | ||||
|     private String status; | ||||
|  | ||||
|     /** | ||||
|      * 是否代打 | ||||
| @ -170,13 +170,13 @@ public class BusConstructionUserVo implements Serializable { | ||||
|      */ | ||||
|     @ExcelProperty(value = "工种(字典type_of_work)", converter = ExcelDictConvert.class) | ||||
|     @ExcelDictFormat(dictType = "type_of_work") | ||||
|     private Long typeOfWork; | ||||
|     private String typeOfWork; | ||||
|  | ||||
|     /** | ||||
|      * 打卡(0启用打卡 1禁止打卡) | ||||
|      */ | ||||
|     @ExcelProperty(value = "打卡(0启用打卡 1禁止打卡)") | ||||
|     private Long clock; | ||||
|     private String clock; | ||||
|  | ||||
|     /** | ||||
|      * 入场时间 | ||||
|  | ||||
| @ -61,7 +61,7 @@ public class BusProjectTeamMemberVo implements Serializable { | ||||
|      */ | ||||
|     @ExcelProperty(value = "岗位", converter = ExcelDictConvert.class) | ||||
|     @ExcelDictFormat(readConverterExp = "默认为0普通员工,1组长") | ||||
|     private Long postId; | ||||
|     private String postId; | ||||
|  | ||||
|     /** | ||||
|      * 备注 | ||||
|  | ||||
| @ -53,7 +53,7 @@ public class BusProjectTeamVo implements Serializable { | ||||
|      */ | ||||
|     @ExcelProperty(value = "范围内打卡", converter = ExcelDictConvert.class) | ||||
|     @ExcelDictFormat(readConverterExp = "0=范围内打卡,1=任何地点打卡") | ||||
|     private Long isClockIn; | ||||
|     private String isClockIn; | ||||
|  | ||||
|     /** | ||||
|      * 备注 | ||||
|  | ||||
| @ -55,7 +55,7 @@ public class BusProjectVo implements Serializable { | ||||
|      */ | ||||
|     @ExcelProperty(value = "状态", converter = ExcelDictConvert.class) | ||||
|     @ExcelDictFormat(readConverterExp = "0=正常,1=停用") | ||||
|     private Long status; | ||||
|     private String status; | ||||
|  | ||||
|     /** | ||||
|      * 项目图片 | ||||
| @ -92,7 +92,7 @@ public class BusProjectVo implements Serializable { | ||||
|      */ | ||||
|     @ExcelProperty(value = "项目类型", converter = ExcelDictConvert.class) | ||||
|     @ExcelDictFormat(readConverterExp = "1=光伏,2=风电") | ||||
|     private Long isType; | ||||
|     private String isType; | ||||
|  | ||||
|     /** | ||||
|      * 项目地址 | ||||
| @ -154,6 +154,6 @@ public class BusProjectVo implements Serializable { | ||||
|      */ | ||||
|     @ExcelProperty(value = "显示隐藏", converter = ExcelDictConvert.class) | ||||
|     @ExcelDictFormat(readConverterExp = "1=显示,2=隐藏") | ||||
|     private Long showHidden; | ||||
|     private String showHidden; | ||||
|  | ||||
| } | ||||
|  | ||||
| @ -217,7 +217,7 @@ public class BusConstructionUserServiceImpl extends ServiceImpl<BusConstructionU | ||||
|         Long contractorId = req.getContractorId(); | ||||
|         Long teamId = req.getTeamId(); | ||||
|         Long notTeamId = req.getNotTeamId(); | ||||
|         Long status = req.getStatus(); | ||||
|         String status = req.getStatus(); | ||||
|         Long isPinch = req.getIsPinch(); | ||||
|         String phone = req.getPhone(); | ||||
|         Long sex = req.getSex(); | ||||
| @ -231,8 +231,8 @@ public class BusConstructionUserServiceImpl extends ServiceImpl<BusConstructionU | ||||
|         String yhkNumber = req.getYhkNumber(); | ||||
|         String yhkOpeningBank = req.getYhkOpeningBank(); | ||||
|         String yhkCardholder = req.getYhkCardholder(); | ||||
|         Long typeOfWork = req.getTypeOfWork(); | ||||
|         Long clock = req.getClock(); | ||||
|         String typeOfWork = req.getTypeOfWork(); | ||||
|         String clock = req.getClock(); | ||||
|         Long salary = req.getSalary(); | ||||
|         String remark = req.getRemark(); | ||||
|         String sortField = req.getSortField(); | ||||
|  | ||||
| @ -217,10 +217,10 @@ public class BusProjectServiceImpl extends ServiceImpl<BusProjectMapper, BusProj | ||||
|         String projectName = req.getProjectName(); | ||||
|         String shortName = req.getShortName(); | ||||
|         Long pId = req.getPId(); | ||||
|         Long status = req.getStatus(); | ||||
|         String status = req.getStatus(); | ||||
|         String remark = req.getRemark(); | ||||
|         String type = req.getType(); | ||||
|         Long isType = req.getIsType(); | ||||
|         String isType = req.getIsType(); | ||||
|         String projectSite = req.getProjectSite(); | ||||
|         String principal = req.getPrincipal(); | ||||
|         String principalPhone = req.getPrincipalPhone(); | ||||
| @ -229,7 +229,7 @@ public class BusProjectServiceImpl extends ServiceImpl<BusProjectMapper, BusProj | ||||
|         String onStreamTime = req.getOnStreamTime(); | ||||
|         String punchRange = req.getPunchRange(); | ||||
|         Long designTotal = req.getDesignTotal(); | ||||
|         Long showHidden = req.getShowHidden(); | ||||
|         String showHidden = req.getShowHidden(); | ||||
|         String sortField = req.getSortField(); | ||||
|         String sortOrder = req.getSortOrder(); | ||||
|         String underlineSortField = StrUtil.toUnderlineCase(sortField); | ||||
|  | ||||
| @ -252,7 +252,7 @@ public class BusProjectTeamMemberServiceImpl extends ServiceImpl<BusProjectTeamM | ||||
|         Long teamId = req.getTeamId(); | ||||
|         Long projectId = req.getProjectId(); | ||||
|         Long memberId = req.getMemberId(); | ||||
|         Long postId = req.getPostId(); | ||||
|         String postId = req.getPostId(); | ||||
|         String remark = req.getRemark(); | ||||
|         String sortField = req.getSortField(); | ||||
|         String sortOrder = req.getSortOrder(); | ||||
|  | ||||
| @ -203,7 +203,7 @@ public class BusProjectTeamServiceImpl extends ServiceImpl<BusProjectTeamMapper, | ||||
|         Long id = req.getId(); | ||||
|         Long projectId = req.getProjectId(); | ||||
|         String teamName = req.getTeamName(); | ||||
|         Long isClockIn = req.getIsClockIn(); | ||||
|         String isClockIn = req.getIsClockIn(); | ||||
|         String remark = req.getRemark(); | ||||
|         String sortField = req.getSortField(); | ||||
|         String sortOrder = req.getSortOrder(); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user