已修改34个文件
已重命名1个文件
已添加2个文件
| | |
| | | }) |
| | | @PostMapping("/submitInspection") |
| | | public Result submitInspection(String inspectionId) { |
| | | return Result.success(inspectionService.subInspectionByInsId(inspectionId)); |
| | | inspectionService.subInspectionByInsId(inspectionId); |
| | | return Result.success(); |
| | | } |
| | | |
| | | @ApiOperation("ä½åºæ£éªåç³è¯·") |
| | |
| | | }) |
| | | @PostMapping("/delInspection") |
| | | public Result delInspection(String inspectionId) { |
| | | return Result.success(inspectionService.delInspectionByInsId(inspectionId)); |
| | | inspectionService.delInspectionByInsId(inspectionId); |
| | | return Result.success(); |
| | | } |
| | | } |
| | |
| | | import com.yuanchu.limslaboratory.mapper.InspectionMapper; |
| | | import com.yuanchu.limslaboratory.pojo.Inspection; |
| | | import com.yuanchu.limslaboratory.pojo.InspectionMaterialList; |
| | | import com.yuanchu.limslaboratory.pojo.dto.InspectionMaterialListDto; |
| | | import com.yuanchu.limslaboratory.service.InspectionMaterialListService; |
| | | import com.yuanchu.limslaboratory.utils.JackSonUtil; |
| | | import com.yuanchu.limslaboratory.utils.RedisUtil; |
| | |
| | | @ApiImplicitParam(name = "inspectionMaterialListId", value = "æ ·åID", dataTypeClass = Integer.class, required = true), |
| | | }) |
| | | @PutMapping("/updateInspectionMaterialList/{inspectionMaterialListId}") |
| | | public Result updateInspectionMaterialList(@PathVariable Integer inspectionMaterialListId, @RequestBody InspectionMaterialList inspectionMaterialList) { |
| | | inspectionMaterialListService.updateInspectionMaterialList(inspectionMaterialListId, inspectionMaterialList); |
| | | public Result updateInspectionMaterialList(@PathVariable Integer inspectionMaterialListId, @RequestBody InspectionMaterialListDto inspectionMaterialListDto) { |
| | | inspectionMaterialListService.updateInspectionMaterialList(inspectionMaterialListId, inspectionMaterialListDto); |
| | | return Result.success(); |
| | | } |
| | | } |
| | |
| | | package com.yuanchu.limslaboratory.controller; |
| | | |
| | | |
| | | import com.yuanchu.limslaboratory.pojo.InspectionProductList; |
| | | import com.yuanchu.limslaboratory.pojo.User; |
| | | import com.yuanchu.limslaboratory.pojo.dto.InspectionProductListDto; |
| | | import com.yuanchu.limslaboratory.pojo.Instrument; |
| | | import com.yuanchu.limslaboratory.service.InspectionProductListService; |
| | | import com.yuanchu.limslaboratory.service.InstrumentService; |
| | | import com.yuanchu.limslaboratory.service.UserService; |
| | | import com.yuanchu.limslaboratory.vo.Result; |
| | | import io.swagger.annotations.Api; |
| | |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | /** |
| | |
| | | UserService userService; |
| | | |
| | | @Resource |
| | | InstrumentService instrumentService; |
| | | |
| | | @Resource |
| | | InspectionProductListService inspectionProductListService; |
| | | |
| | | @ApiOperation("æ¥è¯¢è¯éªåä¿¡æ¯") |
| | |
| | | return Result.success(userService.selectByUserId(id)); |
| | | } |
| | | |
| | | @ApiOperation("æ¥è¯¢è®¾å¤ä¿¡æ¯") |
| | | @GetMapping("/selectInstrument") |
| | | public Result selectInstrument() { |
| | | return Result.success(instrumentService.selectInstrument()); |
| | | } |
| | | |
| | | @ApiOperation("éæ©è®¾å¤ä¿¡æ¯") |
| | | @ApiImplicitParams(value = { |
| | | @ApiImplicitParam(name = "id", value = "设å¤ID", dataTypeClass = Integer.class, required = true), |
| | | }) |
| | | @PostMapping("/selectInstrumentById") |
| | | public Result selectInstrumentById(Integer id) { |
| | | Instrument instrument = instrumentService.getById(id); |
| | | return Result.success(instrument.getEquipmentName()); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®æ£éªè®¡åæ ·åidæ¥è¯¢æ£éªé¡¹ç®") |
| | | @ApiImplicitParams(value = { |
| | | @ApiImplicitParam(name = "id", value = "æ ·åid", dataTypeClass = Integer.class, required = true) |
| | |
| | | return Result.success("ä¿®æ¹æå!"); |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * å°å¾
æäº¤ççæ£éªé¡¹ç®çæ£æµè®°å½çç¶æè½¬ä¸ºå¾
å®¡æ ¸ |
| | | * @param id |
| | |
| | | |
| | | |
| | | import com.yuanchu.limslaboratory.pojo.InspectionProductList; |
| | | import com.yuanchu.limslaboratory.pojo.Instrument; |
| | | import com.yuanchu.limslaboratory.pojo.Product; |
| | | import com.yuanchu.limslaboratory.pojo.dto.InspectionProductListDto; |
| | | import com.yuanchu.limslaboratory.service.PlanService; |
| | | import com.yuanchu.limslaboratory.service.ProductService; |
| | | import com.yuanchu.limslaboratory.vo.Result; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | |
| | | @Resource |
| | | private PlanService planService; |
| | | |
| | | @Resource |
| | | ProductService productService; |
| | | |
| | | @ApiOperation("æ¥è¯¢æææ£éªè®¡ååé
") |
| | | @ApiImplicitParams(value = { |
| | | @ApiImplicitParam(name = "pageSize", value = "页æ°", dataTypeClass = Integer.class, required = true), |
| | |
| | | return Result.success(planService.selectAllPlan(pageSize, countSize, state)); |
| | | } |
| | | |
| | | @ApiOperation("åé
æ£éªè®¡åä¸åé
项ç®") |
| | | @PostMapping("/upPlan") |
| | | public Result upPlan(@RequestBody InspectionProductListDto inspectionProductListDto) { |
| | | planService.upPlan(inspectionProductListDto); |
| | | return Result.success(); |
| | | @ApiOperation("æ ¹æ®é¡¹ç®åæ¥è¯¢ææè¯éªæ¹æ³") |
| | | @GetMapping("/selectInstrumentByProname") |
| | | public Result selectInstrumentByProname(String name) { |
| | | return Result.success(productService.selectInstrumentByProname(name)); |
| | | } |
| | | |
| | | @ApiOperation("éæ©è¯éªæ¹æ³") |
| | | @ApiImplicitParams(value = { |
| | | @ApiImplicitParam(name = "id", value = "项ç®id", dataTypeClass = Integer.class, required = true), |
| | | }) |
| | | @PostMapping("/selectProMethodById") |
| | | public Result selectProMethodById(Integer id) { |
| | | Product product = productService.getById(id); |
| | | return Result.success(product.getMethod()); |
| | | } |
| | | |
| | | @ApiOperation("åé
æ£éªè®¡åä¸åé
项ç®") |
| | | @ApiImplicitParams(value = { |
| | | @ApiImplicitParam(name = "id", value = "æ£éªæ ·åID", dataTypeClass = Integer.class, required = true), |
| | | }) |
| | | @PutMapping("/upPlan/{id}") |
| | | public Result upPlan(@PathVariable Integer id ,@RequestBody InspectionProductListDto inspectionProductListDto) { |
| | | planService.upPlan(id,inspectionProductListDto); |
| | | return Result.success(); |
| | | } |
| | | |
| | | @ApiOperation("ä½åºæ£éªè®¡å") |
| | | @ApiImplicitParams(value = { |
| | |
| | | }) |
| | | @PutMapping("/delPlan/{id}") |
| | | public Result delPlan(@PathVariable Integer id) { |
| | | return Result.success(planService.delPlan(id)); |
| | | planService.delPlan(id); |
| | | return Result.success(); |
| | | } |
| | | |
| | | @ApiOperation("æ¥è¯¢æåæ£éª") |
| | |
| | | */ |
| | | public interface InspectionMaterialListMapper extends BaseMapper<InspectionMaterialList> { |
| | | |
| | | //æ¥è¯¢æ£éªåéé¢çç©æä¿¡æ¯ |
| | | //æ¥è¯¢æ£éªåéé¢çæ ·åä¿¡æ¯ |
| | | List<InspectionMaterialList> selectInspectionMaterialListByInsId(String insId); |
| | | |
| | | } |
| | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.yuanchu.limslaboratory.pojo.Product; |
| | | import com.yuanchu.limslaboratory.pojo.dto.InspectionProductListDto; |
| | | import com.yuanchu.limslaboratory.pojo.vo.InspectionProductListVo; |
| | | import com.yuanchu.limslaboratory.service.InspectionProductListService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | |
| | |
| | | |
| | | |
| | | //æ ¹æ®æ ·åidæ¥è¯¢æ£éªè®¡åæ ·åéé¢çæ£éªé¡¹ç® |
| | | List<InspectionProductListDto> selectByMaterId(Integer id); |
| | | List<InspectionProductListVo> selectByMaterId(Integer id); |
| | | } |
| | |
| | | |
| | | import com.yuanchu.limslaboratory.pojo.Plan; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.yuanchu.limslaboratory.pojo.dto.PlanDto; |
| | | import com.yuanchu.limslaboratory.pojo.vo.FinPlanVo; |
| | | import com.yuanchu.limslaboratory.pojo.vo.PlanVo; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | List<PlanVo> selectAllPlan(int pageSize, int countSize, Integer state); |
| | | |
| | | //æ¥è¯¢æåæ£éª |
| | | List<PlanDto> selectInspection(int pageSize, int countSize, Integer state); |
| | | List<FinPlanVo> selectInspection(int pageSize, int countSize, Integer state); |
| | | } |
| | |
| | | import com.yuanchu.limslaboratory.pojo.Inspection; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | |
| | | @Data |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.yuanchu.limslaboratory.pojo.dto; |
| | | |
| | | |
| | | import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | |
| | | //ä¿®æ¹æ ·åä¿¡æ¯ |
| | | @Data |
| | | public class InspectionMaterialListDto implements Serializable { |
| | | |
| | | |
| | | /** |
| | | * æ¥æ£æ°é-ç©ææ°é |
| | | */ |
| | | @ApiModelProperty(value = "æ¥æ£æ°é-ç©ææ°é",required = true) |
| | | private Integer materialNum; |
| | | /** |
| | | * ä¾åºå |
| | | */ |
| | | @ApiModelProperty(value = "ä¾åºå",required = true) |
| | | private String materialSupplier; |
| | | /** |
| | | * ç©æåç§° |
| | | */ |
| | | @ApiModelProperty(value = "ç©æåç§°",required = true) |
| | | private String materialName; |
| | | /** |
| | | * ç©æåæ¾å° |
| | | */ |
| | | @ApiModelProperty(value = "ç©æåæ¾å°",required = true) |
| | | private String materialLocation; |
| | | /** |
| | | * ç©ææ¹æ¬¡ |
| | | */ |
| | | @ApiModelProperty(value = "ç©ææ¹æ¬¡",required = true) |
| | | private String materialBatch; |
| | | /** |
| | | * ç©æçå· |
| | | */ |
| | | @ApiModelProperty(value = "ç©æçå·",required = true) |
| | | private String materialReelNumber; |
| | | /** |
| | | * è§æ ¼åç§°/åå·åç§° |
| | | */ |
| | | @ApiModelProperty(value = "è§æ ¼åç§°/åå·åç§°",required = true) |
| | | private String specificationsSerialNumber; |
| | | /** |
| | | * çµåç级 |
| | | */ |
| | | @ApiModelProperty("çµåç级") |
| | | private String specificationsVoltageLevel; |
| | | /** |
| | | * ä¸»çº¿å¿æªé¢ |
| | | */ |
| | | @ApiModelProperty("ä¸»çº¿å¿æªé¢") |
| | | private String specificationsCrossSection; |
| | | /** |
| | | * 主线è¯è¯æ° |
| | | */ |
| | | @ApiModelProperty("主线è¯è¯æ°") |
| | | private String specificationsNumberOfCores; |
| | | /** |
| | | * ç产æä»¤å· |
| | | */ |
| | | @ApiModelProperty("ç产æä»¤å·") |
| | | private String specificationsInstruct; |
| | | |
| | | @ApiModelProperty("夿³¨") |
| | | private String notes; |
| | | |
| | | |
| | | |
| | | |
| | | } |
| | |
| | | package com.yuanchu.limslaboratory.pojo.dto; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
| | | import com.yuanchu.limslaboratory.pojo.InspectionProductList; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | import lombok.experimental.Accessors; |
| | | |
| | | import java.io.Serializable; |
| | | import java.time.LocalDateTime; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * <p> |
| | | * |
| | | * </p> |
| | | * |
| | | * @author æ±èéµ·éç½ç»ç§ææéå
¬å¸ |
| | | * @since 2023-07-17 |
| | | */ |
| | | //åé
计å |
| | | |
| | | |
| | | //(æ´æ¹)åé
æ£éªé¡¹ç®çè¯éªå,设å¤,æ¶é´,è¯éªæ¹æ³çåæ° |
| | | @Data |
| | | public class InspectionProductListDto implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @ApiModelProperty(value = "æ¥æ£æ ·åid") |
| | | @JsonSerialize |
| | | private int inspectionMaterialListId; |
| | | |
| | | @ApiModelProperty(value = "é¡¹ç®æ£éªå¼å§æ¥æ") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | |
| | | @JsonSerialize |
| | | private String internal; |
| | | |
| | | @ApiModelProperty(value = "è¯éªåè¯éªå¼å§æ¥æ", hidden = true) |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date inspectStartTime; |
| | | |
| | | @ApiModelProperty(value = "è¯éªåè¯éªç»ææ¥æ", hidden = true) |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date inspectEndTime; |
| | | |
| | | @ApiModelProperty(value = "æ£éªé¡¹ç®è¯éªå") |
| | | @ApiModelProperty(value = "å
³èæ£éªé¡¹ç®è¯éªåid") |
| | | @JsonSerialize |
| | | private String userName; |
| | | private Integer userId; |
| | | |
| | | @ApiModelProperty(value = "å
³è 设å¤å") |
| | | @ApiModelProperty(value = "å
³è 设å¤id") |
| | | @JsonSerialize |
| | | private String instrumentName; |
| | | private Integer instrumentId; |
| | | } |
| | |
| | | import java.io.Serializable; |
| | | import java.time.LocalDateTime; |
| | | |
| | | //(ä¿®æ¹)(æ¥è¯¢)æ£æµè®°å½ |
| | | @Data |
| | | public class InspectionRecordsDto implements Serializable { |
| | | |
ÎļþÃû´Ó inspection-server/src/main/java/com/yuanchu/limslaboratory/pojo/dto/PlanDto.java ÐÞ¸Ä |
| | |
| | | package com.yuanchu.limslaboratory.pojo.dto; |
| | | package com.yuanchu.limslaboratory.pojo.vo; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.annotation.FieldFill; |
| | |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
| | | import com.yuanchu.limslaboratory.pojo.Plan; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | //æåæ£éª |
| | | //(å页æ¥è¯¢)è®°å½æåæ£éª |
| | | @Data |
| | | public class PlanDto implements Serializable { |
| | | public class FinPlanVo implements Serializable { |
| | | |
| | | @ApiModelProperty(value = "计åç¼å·") |
| | | @TableId(value = "id", type = IdType.AUTO) |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.yuanchu.limslaboratory.pojo.vo; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | import java.time.LocalDateTime; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * <p> |
| | | * |
| | | * </p> |
| | | * |
| | | * @author æ±èéµ·éç½ç»ç§ææéå
¬å¸ |
| | | * @since 2023-07-17 |
| | | */ |
| | | //æ¥è¯¢æ£éªé¡¹ç® |
| | | @Data |
| | | public class InspectionProductListVo implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @ApiModelProperty(value = "æ¥æ£æ ·åid") |
| | | @JsonSerialize |
| | | private int inspectionMaterialListId; |
| | | |
| | | @ApiModelProperty(value = "é¡¹ç®æ£éªå¼å§æ¥æ") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private LocalDateTime startTime; |
| | | |
| | | @ApiModelProperty(value = "é¡¹ç®æ£éªç»ææ¥æ") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private LocalDateTime endTime; |
| | | |
| | | @ApiModelProperty(value = "项ç®åç§°") |
| | | @JsonSerialize |
| | | private String name; |
| | | |
| | | @ApiModelProperty(value = "è¯éªæ¹æ³") |
| | | @JsonSerialize |
| | | private String method; |
| | | |
| | | @ApiModelProperty(value = "è¯éªè¦æ±") |
| | | @JsonSerialize |
| | | private String ask; |
| | | |
| | | @ApiModelProperty(value = "åä½") |
| | | @JsonSerialize |
| | | private String unit; |
| | | |
| | | @ApiModelProperty(value = "ææ äººè¦æ±å¼") |
| | | @JsonSerialize |
| | | private String required; |
| | | |
| | | @ApiModelProperty(value = "å
æ§å¼") |
| | | @JsonSerialize |
| | | private String internal; |
| | | |
| | | @ApiModelProperty(value = "è¯éªåè¯éªå¼å§æ¥æ", hidden = true) |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date inspectStartTime; |
| | | |
| | | @ApiModelProperty(value = "è¯éªåè¯éªç»ææ¥æ", hidden = true) |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date inspectEndTime; |
| | | |
| | | @ApiModelProperty(value = "æ£éªé¡¹ç®è¯éªå") |
| | | @JsonSerialize |
| | | private String userName; |
| | | |
| | | @ApiModelProperty(value = "å
³è 设å¤å") |
| | | @JsonSerialize |
| | | private String instrumentName; |
| | | } |
| | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | //æ£éªè®¡ååé
|
| | | //(å页æ¥è¯¢)æ£éªè®¡ååé
|
| | | @Data |
| | | public class PlanVo implements Serializable { |
| | | |
| | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.yuanchu.limslaboratory.pojo.InspectionMaterialList; |
| | | import com.yuanchu.limslaboratory.pojo.Plan; |
| | | import com.yuanchu.limslaboratory.pojo.dto.InspectionMaterialListDto; |
| | | |
| | | import java.util.List; |
| | | |
| | |
| | | /** |
| | | *æ ¹æ®æ ·åidä¿®æ¹æ ·åä¿¡æ¯ |
| | | * @param inspectionMaterialListId |
| | | * @param inspectionMaterialList |
| | | * @param inspectionMaterialListDto |
| | | * @return |
| | | */ |
| | | void updateInspectionMaterialList( Integer inspectionMaterialListId,InspectionMaterialList inspectionMaterialList); |
| | | void updateInspectionMaterialList(Integer inspectionMaterialListId, InspectionMaterialListDto inspectionMaterialListDto); |
| | | } |
| | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.yuanchu.limslaboratory.pojo.Product; |
| | | import com.yuanchu.limslaboratory.pojo.dto.InspectionProductListDto; |
| | | import com.yuanchu.limslaboratory.pojo.vo.InspectionProductListVo; |
| | | |
| | | import java.util.List; |
| | | |
| | |
| | | public interface InspectionProductListService extends IService<InspectionProductList> { |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | | * æ ¹æ®æ ·åidæ¥è¯¢æ£éªè®¡åæ ·åéé¢çæ£éªé¡¹ç® |
| | | * @param id |
| | | * @return |
| | | */ |
| | | List<InspectionProductListDto> selectProductById(Integer id); |
| | | |
| | | List<InspectionProductListVo> selectProductById(Integer id); |
| | | |
| | | } |
| | |
| | | * @param inspectionId |
| | | * @return |
| | | */ |
| | | boolean delInspectionByInsId(String inspectionId); |
| | | void delInspectionByInsId(String inspectionId); |
| | | |
| | | /** |
| | | * æ ¹æ®æ£éªåidæäº¤æ£éªç³è¯· |
| | | * @param inspectionId |
| | | * @return |
| | | */ |
| | | boolean subInspectionByInsId(String inspectionId); |
| | | void subInspectionByInsId(String inspectionId); |
| | | |
| | | } |
| | |
| | | package com.yuanchu.limslaboratory.service; |
| | | |
| | | import com.yuanchu.limslaboratory.pojo.InspectionProductList; |
| | | import com.yuanchu.limslaboratory.pojo.Plan; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.yuanchu.limslaboratory.pojo.dto.InspectionProductListDto; |
| | | import com.yuanchu.limslaboratory.pojo.dto.PlanDto; |
| | | import com.yuanchu.limslaboratory.pojo.vo.FinPlanVo; |
| | | import com.yuanchu.limslaboratory.pojo.vo.PlanVo; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | * @param id |
| | | * @return |
| | | */ |
| | | boolean delPlan(Integer id); |
| | | void delPlan(Integer id); |
| | | |
| | | |
| | | |
| | | /** |
| | | * ç»æ£éªè®¡åä¸çæ£éªé¡¹ç®åé
è¯éªå,设å¤,以忥æ |
| | | * @param inspectionProductList |
| | | * @param inspectionProductListDto |
| | | */ |
| | | void upPlan(InspectionProductListDto inspectionProductListDto); |
| | | void upPlan(Integer id ,InspectionProductListDto inspectionProductListDto); |
| | | |
| | | /** |
| | | * æ¥è¯¢æåæ£éª |
| | |
| | | * @param state |
| | | * @return |
| | | */ |
| | | List<PlanDto> selectInspection(int pageSize, int countSize, Integer state); |
| | | List<FinPlanVo> selectInspection(int pageSize, int countSize, Integer state); |
| | | } |
| | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.yuanchu.limslaboratory.mapper.*; |
| | | import com.yuanchu.limslaboratory.pojo.*; |
| | | import com.yuanchu.limslaboratory.pojo.dto.InspectionMaterialListDto; |
| | | import com.yuanchu.limslaboratory.service.InspectionMaterialListService; |
| | | import com.yuanchu.limslaboratory.service.InspectionProductListService; |
| | | import com.yuanchu.limslaboratory.service.PlanService; |
| | | import com.yuanchu.limslaboratory.vo.Result; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | |
| | | InspectionProductListService inspectionProductListService; |
| | | |
| | | |
| | | //æ¥è¯¢æ£éªåéé¢çç©æä¿¡æ¯ |
| | | //æ¥è¯¢æ£éªåéé¢çæ ·åä¿¡æ¯ |
| | | @Override |
| | | public List<InspectionMaterialList> selectInspectionMaterialListByInsId(String insId) { |
| | | return inspectionMaterialListMapper.selectInspectionMaterialListByInsId(insId); |
| | |
| | | //æ ¹æ®æ ·åidä¿®æ¹æ ·åä¿¡æ¯ |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public void updateInspectionMaterialList(Integer inspectionMaterialListId, InspectionMaterialList inspectionMaterialList) { |
| | | public void updateInspectionMaterialList(Integer inspectionMaterialListId, InspectionMaterialListDto inspectionMaterialListDto) { |
| | | InspectionMaterialList inspectionMaterialList = new InspectionMaterialList(); |
| | | BeanUtils.copyProperties(inspectionMaterialListDto,inspectionMaterialList); |
| | | LambdaUpdateWrapper<InspectionMaterialList> updateWrapper = new LambdaUpdateWrapper<>(); |
| | | updateWrapper.eq(InspectionMaterialList::getId, inspectionMaterialListId); |
| | | inspectionMaterialListMapper.update(inspectionMaterialList, updateWrapper); |
| | |
| | | import com.yuanchu.limslaboratory.mapper.InspectionProductListMapper; |
| | | import com.yuanchu.limslaboratory.pojo.Product; |
| | | import com.yuanchu.limslaboratory.pojo.dto.InspectionProductListDto; |
| | | import com.yuanchu.limslaboratory.pojo.vo.InspectionProductListVo; |
| | | import com.yuanchu.limslaboratory.service.InspectionProductListService; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import org.springframework.stereotype.Service; |
| | |
| | | |
| | | //æ ¹æ®æ ·åidæ¥è¯¢æ£éªè®¡åæ ·åéé¢çæ£éªé¡¹ç® |
| | | @Override |
| | | public List<InspectionProductListDto> selectProductById(Integer id) { |
| | | public List<InspectionProductListVo> selectProductById(Integer id) { |
| | | return inspectionProductListMapper.selectByMaterId(id); |
| | | } |
| | | |
| | |
| | | package com.yuanchu.limslaboratory.service.impl; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper; |
| | | import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
| | | import com.yuanchu.limslaboratory.mapper.InspectionMaterialListMapper; |
| | | import com.yuanchu.limslaboratory.mapper.InspectionProductListMapper; |
| | | import com.yuanchu.limslaboratory.mapper.PlanMapper; |
| | |
| | | import com.yuanchu.limslaboratory.service.InspectionService; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | |
| | | InspectionMaterialListMapper inspectionMaterialListMapper; |
| | | |
| | | @Resource |
| | | InspectionProductListMapper inspectionProductListMapper; |
| | | InspectionProductListService inspectionProductListService; |
| | | |
| | | //æ·»å æ£éªç³è¯·å |
| | | @Override |
| | |
| | | |
| | | //ä½åºç³è¯·æ£éªå |
| | | @Override |
| | | public boolean delInspectionByInsId(String inspectionId) { |
| | | //æ£éªåä½åº |
| | | public void delInspectionByInsId(String inspectionId) { |
| | | /*æ£éªåä½åº*/ |
| | | Inspection inspection = inspectionMapper.selectById(inspectionId); |
| | | inspection.setState(0); |
| | | int judge1 = inspectionMapper.updateById(inspection); |
| | | //æ£éªè®¡åä½åº |
| | | inspectionMapper.updateById(inspection); |
| | | /*æ£éªè®¡åä½åº*/ |
| | | UpdateWrapper<Plan> updateWrapper = new UpdateWrapper<>(); |
| | | updateWrapper.eq("inspection_id", inspectionId).set("state", 0); |
| | | planMapper.update(new Plan(),updateWrapper ); |
| | | //æ£éªæ ·åä½åº(æ ¹æ®æ¥æ£åidå 餿 ·åä¿¡æ¯) |
| | | /*æ£éªæ ·åä½åº(æ ¹æ®æ¥æ£åidå 餿 ·åä¿¡æ¯)*/ |
| | | UpdateWrapper<InspectionMaterialList> wrapper1 = new UpdateWrapper<>(); |
| | | wrapper1.eq("inspection_id", inspectionId).set("state", 0); |
| | | int judge2 = inspectionMaterialListMapper.update(new InspectionMaterialList(), wrapper1); |
| | | return judge1 > 0 && judge2 > 0; |
| | | //æ£éªæ ·åä¸çæ£éªé¡¹ç®ä½åº |
| | | inspectionMaterialListMapper.update(new InspectionMaterialList(), wrapper1); |
| | | /*æ£éªæ ·åä¸çæ£éªé¡¹ç®ä½åº*/ |
| | | //æ¥åºæ£éªæ ·åid |
| | | |
| | | LambdaQueryWrapper<InspectionMaterialList> queryWrapper = new LambdaQueryWrapper<>(); |
| | | queryWrapper.eq(InspectionMaterialList::getInspectionId,inspectionId); |
| | | List<InspectionMaterialList> inspectionMaterialLists = inspectionMaterialListMapper.selectList(queryWrapper); |
| | | for (InspectionMaterialList inspectionMaterialList : inspectionMaterialLists) { |
| | | UpdateWrapper<InspectionProductList> wrapper = new UpdateWrapper<>(); |
| | | wrapper.eq("inspection_material_list_id", inspectionMaterialList.getId()).set("state", 0); |
| | | inspectionProductListService.update(new InspectionProductList(), wrapper); |
| | | } |
| | | } |
| | | |
| | | //æäº¤ç³è¯·æ£éªå |
| | | @Override |
| | | public boolean subInspectionByInsId(String inspectionId) { |
| | | public void subInspectionByInsId(String inspectionId) { |
| | | Inspection inspection = inspectionMapper.selectById(inspectionId); |
| | | //ç¶ææ¹ä¸ºå·²æäº¤2 |
| | | inspection.setState(2); |
| | | int judge = inspectionMapper.updateById(inspection); |
| | | inspectionMapper.updateById(inspection); |
| | | //计å表æ°å¢ |
| | | Plan plan = Plan.builder().inspectionId(inspectionId).state(1).userId(inspection.getInspectUserId()).createTime(new Date()).build(); |
| | | planMapper.insert(plan); |
| | | return judge > 0; |
| | | } |
| | | } |
| | |
| | | package com.yuanchu.limslaboratory.service.impl; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.Wrapper; |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.core.conditions.segments.MergeSegments; |
| | | import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper; |
| | | import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
| | | import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper; |
| | | import com.yuanchu.limslaboratory.mapper.*; |
| | | import com.yuanchu.limslaboratory.pojo.*; |
| | | import com.yuanchu.limslaboratory.pojo.dto.InspectionProductListDto; |
| | | import com.yuanchu.limslaboratory.pojo.dto.PlanDto; |
| | | import com.yuanchu.limslaboratory.pojo.vo.FinPlanVo; |
| | | import com.yuanchu.limslaboratory.pojo.vo.PlanVo; |
| | | import com.yuanchu.limslaboratory.service.InspectionProductListService; |
| | | import com.yuanchu.limslaboratory.service.PlanService; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import org.springframework.beans.BeanUtils; |
| | |
| | | InspectionMaterialListMapper inspectionMaterialListMapper; |
| | | |
| | | @Resource |
| | | UserMapper userMapper; |
| | | |
| | | @Resource |
| | | InstrumentMapper instrumentMapper; |
| | | InspectionProductListService inspectionProductListService; |
| | | |
| | | //æ¥è¯¢æææ£éªè®¡ååé
|
| | | @Override |
| | |
| | | |
| | | //ä½åºæ£éªè®¡å |
| | | @Override |
| | | public boolean delPlan(Integer id) { |
| | | public void delPlan(Integer id) { |
| | | Plan plan = planMapper.selectById(id); |
| | | |
| | | /*æ£éªè®¡åä½åº*/ |
| | | //ç¶ææ¹ä¸ºä½åº0 |
| | | plan.setState(0); |
| | | int judge = planMapper.updateById(plan); |
| | | return judge > 0; |
| | | planMapper.updateById(plan); |
| | | |
| | | /*æ£éªæ ·åä½åº(æ ¹æ®æ¥æ£åidå 餿 ·åä¿¡æ¯)*/ |
| | | UpdateWrapper<InspectionMaterialList> wrapper1 = new UpdateWrapper<>(); |
| | | wrapper1.eq("inspection_id", plan.getInspectionId()).set("state", 0); |
| | | inspectionMaterialListMapper.update(new InspectionMaterialList(), wrapper1); |
| | | |
| | | /*æ£éªæ ·åä¸çæ£éªé¡¹ç®ä½åº*/ |
| | | //æ¥åºæ£éªæ ·åid |
| | | LambdaQueryWrapper<InspectionMaterialList> queryWrapper = new LambdaQueryWrapper<>(); |
| | | queryWrapper.eq(InspectionMaterialList::getInspectionId, plan.getInspectionId()); |
| | | List<InspectionMaterialList> inspectionMaterialLists = inspectionMaterialListMapper.selectList(queryWrapper); |
| | | for (InspectionMaterialList inspectionMaterialList : inspectionMaterialLists) { |
| | | UpdateWrapper<InspectionProductList> wrapper = new UpdateWrapper<>(); |
| | | wrapper.eq("inspection_material_list_id", inspectionMaterialList.getId()).set("state", 0); |
| | | inspectionProductListService.update(new InspectionProductList(), wrapper); |
| | | } |
| | | } |
| | | |
| | | //ä¿®æ¹(åé
)æ£éªè®¡åéåé
计åçä¿¡æ¯ |
| | | @Override |
| | | public void upPlan(InspectionProductListDto inspectionProductListDto) { |
| | | public void upPlan(Integer id, InspectionProductListDto inspectionProductListDto) { |
| | | /*æ´æ°è®¡å表ä¸çç¶æ(3:å·²åé
),æ´æ°æ¶é´*/ |
| | | //æ¥è¯¢æ¥æ£åid |
| | | InspectionMaterialList inspectionMaterialList = inspectionMaterialListMapper.selectById(inspectionProductListDto.getInspectionMaterialListId()); |
| | | InspectionMaterialList inspectionMaterialList = inspectionMaterialListMapper.selectById(id); |
| | | LambdaQueryWrapper<Plan> queryWrapper = new LambdaQueryWrapper<>(); |
| | | queryWrapper.eq(Plan::getInspectionId, inspectionMaterialList.getInspectionId()); |
| | | Plan plan = planMapper.selectOne(queryWrapper); |
| | |
| | | |
| | | /*æ´æ°æ£éªé¡¹ç®è¡¨ä¸çé¡¹ç®æ£éªå¼å§æ¥æ,é¡¹ç®æ£éªç»ææ¥æ,项ç®è¯éªå,è¯éªè¦æ±,æ´æ°æ¶é´,设å¤id*/ |
| | | InspectionProductList inspectionProductList = new InspectionProductList(); |
| | | //å¤å¶ä¹å,inspectionProductListéé¢æé¡¹ç®æ£éªå¼å§ãç»ææ¥æ,项ç®åç§°,è¯éªæ¹æ³,è¯éªè¦æ±,åä½, |
| | | BeanUtils.copyProperties(inspectionProductListDto, inspectionProductList); |
| | | //æ ¹æ®è®¾å¤åè·å设å¤id |
| | | LambdaQueryWrapper<Instrument> wrapper1 = new LambdaQueryWrapper<>(); |
| | | wrapper1.eq(Instrument::getEquipmentName, inspectionProductListDto.getInstrumentName()); |
| | | Instrument instrument = instrumentMapper.selectOne(wrapper1); |
| | | //æ ¹æ®ç¨æ·åè·åç¨æ·id |
| | | LambdaQueryWrapper<User> wrapper2 = new LambdaQueryWrapper<>(); |
| | | wrapper2.eq(User::getName, inspectionProductListDto.getUserName()); |
| | | User user = userMapper.selectOne(wrapper2); |
| | | inspectionProductList.setUpdateTime(new Date()).setUserId(user.getId()).setInstrumentId(instrument.getId()); |
| | | inspectionProductList.setInspectionMaterialListId(id); |
| | | //æ ¹æ®æ¥æ£æ ·åidå项ç®åç§°è¿è¡æ´æ°æ£éªé¡¹ç®è¡¨ |
| | | LambdaUpdateWrapper<InspectionProductList> updateWrapper2 = new LambdaUpdateWrapper<>(); |
| | | updateWrapper2.eq(InspectionProductList::getInspectionMaterialListId, inspectionProductList.getInspectionMaterialListId()) |
| | |
| | | |
| | | //æ¥è¯¢æåæ£éª |
| | | @Override |
| | | public List<PlanDto> selectInspection(int pageSize, int countSize, Integer state) { |
| | | public List<FinPlanVo> selectInspection(int pageSize, int countSize, Integer state) { |
| | | return planMapper.selectInspection((pageSize - 1) * countSize, pageSize * countSize, state); |
| | | } |
| | | } |
| | |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.yuanchu.limslaboratory.mapper.InspectionProductListMapper"> |
| | | |
| | | <select id="selectByMaterId" resultType="com.yuanchu.limslaboratory.pojo.dto.InspectionProductListDto"> |
| | | <select id="selectByMaterId" resultType="com.yuanchu.limslaboratory.pojo.vo.InspectionProductListVo"> |
| | | select inspection_material_list_id, |
| | | inspect_start_time inspectStartTime, |
| | | inspect_end_time inspectEndTime, |
| | |
| | | internal, |
| | | start_time, |
| | | end_time, |
| | | user.name userName, |
| | | uname userName, |
| | | equipment_name instrumentName |
| | | from lims_laboratory.inspection_product_list ipl |
| | | join lims_laboratory.inspection_material_list iml on iml.id = ipl.inspection_material_list_id |
| | | join lims_laboratory.inspection i on i.id = iml.inspection_id |
| | | join lims_laboratory.user on ipl.user_id = user.id |
| | | join lims_laboratory.instrument on ipl.instrument_id = instrument.id |
| | | where inspection_material_list_id = #{id} |
| | | from (select inspection_material_list_id, |
| | | pl.name name, |
| | | user.name uname, |
| | | method, |
| | | ask, |
| | | unit, |
| | | required, |
| | | internal, |
| | | start_time, |
| | | end_time, |
| | | equipment_name |
| | | from lims_laboratory.inspection_product_list pl |
| | | left join lims_laboratory.user on pl.user_id = user.id |
| | | left join lims_laboratory.instrument on pl.instrument_id = instrument.id) ipl |
| | | , lims_laboratory.inspection_material_list iml |
| | | , lims_laboratory.inspection i |
| | | where iml.id = ipl.inspection_material_list_id |
| | | and iml.id = ipl.inspection_material_list_id |
| | | and i.id = iml.inspection_id |
| | | and ipl.inspection_material_list_id = #{id} |
| | | </select> |
| | | </mapper> |
| | |
| | | limit #{pageSize},#{countSize} |
| | | </select> |
| | | |
| | | <select id="selectInspection" resultType="com.yuanchu.limslaboratory.pojo.dto.PlanDto"> |
| | | <select id="selectInspection" resultType="com.yuanchu.limslaboratory.pojo.vo.FinPlanVo"> |
| | | select i.mid , p.inspection_id , p.state, p.create_time, p.name userName, i.name inspectUserName |
| | | from (select inspection_id, state, plan.create_time, name |
| | | from lims_laboratory.plan |
| | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | import java.util.Objects; |
| | | |
| | |
| | | public interface InstrumentMapper extends BaseMapper<Instrument> { |
| | | |
| | | IPage<Map<String, Object>> getListInstrumentInformation(Integer conditions,Boolean whetherWhether, String numberOrNameOrSpecifications, Integer classifyId, Page<Objects> page); |
| | | |
| | | //æ¥è¯¢ææè®¾å¤ä¿¡æ¯ |
| | | List<Map> selectInstrument(); |
| | | |
| | | } |
| | |
| | | import com.yuanchu.limslaboratory.pojo.Instrument; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | import java.util.Objects; |
| | | |
| | |
| | | Instrument getIdInstrumentInformation(Integer instrumentId); |
| | | |
| | | Integer updateEquipmentPointInformation(Instrument instrument); |
| | | |
| | | /** |
| | | * æ¥è¯¢ææè®¾å¤ä¿¡æ¯ |
| | | * @return |
| | | */ |
| | | List<Map> selectInstrument(); |
| | | } |
| | |
| | | import org.springframework.util.ObjectUtils; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | import java.util.Objects; |
| | | |
| | |
| | | } |
| | | return 0; |
| | | } |
| | | |
| | | //æ¥è¯¢ææè®¾å¤ä¿¡æ¯ |
| | | @Override |
| | | public List<Map> selectInstrument() { |
| | | return instrumentMapper.selectInstrument(); |
| | | } |
| | | } |
| | |
| | | </if> |
| | | AND i.`user_id` = u.`id` |
| | | </select> |
| | | <select id="selectInstrument" resultType="Map"> |
| | | select id,equipment_name from lims_laboratory.instrument |
| | | </select> |
| | | </mapper> |
| | |
| | | List<Product> selectProductByMaterialId(String materialId); |
| | | |
| | | Map<String, Object> getProductInformation(Integer productId); |
| | | |
| | | //éè¿é¡¹ç®åæ¥è¯¢é¡¹ç®çè¯éªæ¹æ³ |
| | | List<Map> selectInstrumentByProname(String name); |
| | | } |
| | |
| | | void MaterialIdDeleteProduct(List<String> deleteMaterialId); |
| | | |
| | | Integer updateMaterialInformation(Product product); |
| | | |
| | | /** |
| | | * éè¿é¡¹ç®åæ¥è¯¢é¡¹ç®çè¯éªæ¹æ³ |
| | | * @param name |
| | | * @return |
| | | */ |
| | | List<Map> selectInstrumentByProname(String name); |
| | | } |
| | |
| | | LambdaUpdateWrapper<Product> updateWrapper = new LambdaUpdateWrapper<>(); |
| | | updateWrapper.eq(Product::getId, product.getId()); |
| | | return productMapper.update(product, updateWrapper); |
| | | } |
| | | |
| | | //éè¿é¡¹ç®åæ¥è¯¢é¡¹ç®çè¯éªæ¹æ³ |
| | | @Override |
| | | public List<Map> selectInstrumentByProname(String name) { |
| | | return productMapper.selectInstrumentByProname(name); |
| | | } |
| | | } |
| | |
| | | <?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.yuanchu.limslaboratory.mapper.ProductMapper"> |
| | | <select id="selectProductByMaterialId" resultType="Product"> |
| | | <select id="selectProductByMaterialId" resultType="com.yuanchu.limslaboratory.pojo.Product"> |
| | | select id, name, method, father, unit, required, internal |
| | | from product |
| | | where material_id = #{material_id} |
| | |
| | | </select> |
| | | |
| | | <select id="getProductInformation" parameterType="integer" resultType="map"> |
| | | SELECT p.method, ifnull(null, p.father) projectClassification, p.user_id, date_format(p.update_time, '%Y-%m-%d %H:%i:%s') updateTime, |
| | | p.unit, p.required, p.internal |
| | | SELECT p.method, |
| | | ifnull(null, p.father) projectClassification, |
| | | p.user_id, |
| | | date_format(p.update_time, '%Y-%m-%d %H:%i:%s') updateTime, |
| | | p.unit, |
| | | p.required, |
| | | p.internal |
| | | FROM product p |
| | | where p.id = #{productId} |
| | | </select> |
| | | <select id="selectInstrumentByProname" resultType="java.util.Map"> |
| | | select id, method |
| | | from lims_laboratory.product |
| | | where name=#{name} |
| | | </select> |
| | | </mapper> |
| | |
| | | |
| | | IPage<PagePersonnelVo> getNewPersonnelPage(String name, Page page); |
| | | |
| | | List<User> selectUser(); |
| | | List<Map> selectUser(); |
| | | } |
| | |
| | | * æ¥è¯¢ææç¨æ·ä¿¡æ¯ |
| | | * @return |
| | | */ |
| | | List<User> selectUser(); |
| | | List<Map> selectUser(); |
| | | } |
| | |
| | | } |
| | | |
| | | @Override |
| | | public List<User> selectUser() { |
| | | public List<Map> selectUser() { |
| | | return userMapper.selectUser(); |
| | | } |
| | | |
| | |
| | | </if> |
| | | </select> |
| | | |
| | | <select id="selectUser" resultType="com.yuanchu.limslaboratory.pojo.User"> |
| | | select id, |
| | | account, |
| | | password, |
| | | name, |
| | | phone, |
| | | email, |
| | | age, |
| | | job_state, |
| | | info, |
| | | create_time, |
| | | update_time, |
| | | version, |
| | | role_id, |
| | | enterprise_id |
| | | <select id="selectUser" resultType="Map"> |
| | | select id, name |
| | | from lims_laboratory.user |
| | | </select> |
| | | </mapper> |