Merge branch 'radio_frequency' of http://114.132.189.42:9002/r/lims-ruoyi-after into radio_frequency
| | |
| | | public Result partFileList(Page page,@RequestParam("partNo") String partNo) { |
| | | return Result.success(workShopFileService.partFileList(page,partNo)); |
| | | } |
| | | |
| | | @ApiOperation(value = "查询附件列表") |
| | | @GetMapping("/fileListById") |
| | | public Result fileListById(@RequestParam("workShopId") String workShopId) { |
| | | return Result.success(workShopFileService.fileListById(Integer.valueOf(workShopId))); |
| | | } |
| | | } |
| | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.basic.pojo.WorkShopFile; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @description 针对表【work_shop_file(车间名称)】的数据库操作Service |
| | | * @createDate 2024-03-17 |
| | |
| | | int delFile(Integer id); |
| | | |
| | | IPage<WorkShopFile> partFileList(Page page,String partNo); |
| | | |
| | | List<WorkShopFile> fileListById(Integer workShopId); |
| | | } |
| | |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @description 针对表【work_shop_file(车间附件名称)】的数据库操作Service实现 |
| | |
| | | return null; |
| | | } |
| | | |
| | | @Override |
| | | public List<WorkShopFile> fileListById(Integer workShopId) { |
| | | return workShopFileMapper.selectList(new LambdaQueryWrapper<WorkShopFile>().eq(WorkShopFile::getWorkShopId,workShopId)); |
| | | } |
| | | |
| | | private StructureTestObject findStructureTestObjectByPartNo(String partNo) { |
| | | ProductPart productPart = productPartMapper.selectOne(new LambdaQueryWrapper<ProductPart>().eq(ProductPart::getPartNo, partNo)); |
| | | if (productPart != null) { |
| | |
| | | @TableField(exist = false) |
| | | private Integer issueUser; |
| | | |
| | | @ApiModelProperty("车间id") |
| | | private Integer workShopId; |
| | | |
| | | } |
| | |
| | | @ApiModelProperty("报告id") |
| | | private Integer insReportId; |
| | | |
| | | @ApiModelProperty("车间id") |
| | | private Integer workShopId; |
| | | |
| | | } |
| | |
| | | io.appointed, |
| | | io.send_time, |
| | | io.order_type, |
| | | io.work_shop_id, |
| | | case when |
| | | io.type_source = 0 |
| | | then io.sample_view |
| | |
| | | LEFT JOIN ins_sample_user isu ON isa.id = isu.user_id |
| | | LEFT JOIN user uu ON ip.check_user_id = uu.id |
| | | LEFT JOIN ( |
| | | SELECT T1.ins_order_id,GROUP_CONCAT( DISTINCT T3.name SEPARATOR ', ' ) AS userName FROM ins_sample T1 LEFT JOIN ins_product T2 ON T1.id = T2.ins_sample_id LEFT JOIN user T3 ON T2.check_user_id = T3.id GROUP BY T1.ins_order_id |
| | | SELECT T1.ins_order_id,GROUP_CONCAT( DISTINCT T3.name SEPARATOR ', ' ) AS userName FROM ins_sample T1 LEFT JOIN |
| | | ins_product T2 ON T1.id = T2.ins_sample_id LEFT JOIN user T3 ON T2.check_user_id = T3.id GROUP BY |
| | | T1.ins_order_id |
| | | ) T4 ON T4.ins_order_id = io.id |
| | | WHERE io.state = 1 and send_time is not null |
| | | -- 非检测管理员 |