Merge branch 'dev' of http://114.132.189.42:9002/r/lims-ruoyi-after into dev_cr
| | |
| | | } |
| | | } |
| | | |
| | | @ApiOperation(value = "获取设备负责人") |
| | | @GetMapping("/selectDevicePrincipal") |
| | | public Result selectDevicePrincipal() { |
| | | return Result.success(deviceService.selectDevicePrincipal()); |
| | | } |
| | | |
| | | @ApiOperation(value = "通过项目获取设备列表") |
| | | @GetMapping("/selectDeviceByCategory") |
| | | public Result selectDeviceByCategory(String inspectionItem, String inspectionItemSubclass,String laboratory) { |
| | |
| | | //获取图片数据 |
| | | void selectDeviceImage(@Param(value = "name") String name ,@Param(value = "id") Integer id); |
| | | |
| | | //查询设备负责人 |
| | | List<Device> selectDevicePrincipal(); |
| | | |
| | | IPage<DeviceDto> selectDeviceParameterPage(Page page, @Param("ew") QueryWrapper<DeviceDto> queryWrappers, @Param("laboratoryNameIsNull") Boolean laboratoryNameIsNull); |
| | | |
| | | List<Map<String, Object>> getInspectionItemSubclass(@Param("id") Integer id); |
| | |
| | | |
| | | List<Device> search(Integer status, String deviceName, String specificationModel, String largeCategory); |
| | | |
| | | List<Device> selectDevicePrincipal(); |
| | | |
| | | List<Device> selectDeviceByCategory(String inspectionItem, String inspectionItemSubclass,String laboratory); |
| | | |
| | | DeviceDto selectDeviceByCode(Integer id); |
| | |
| | | } |
| | | |
| | | @Override |
| | | public List<Device> selectDevicePrincipal() { |
| | | return deviceMapper.selectDevicePrincipal(); |
| | | } |
| | | |
| | | @Override |
| | | public List<Device> selectDeviceByCategory(String inspectionItem, String inspectionItemSubclass, String laboratory) { |
| | | List<Integer> id; |
| | | |
| | |
| | | , #{createUser} |
| | | , #{createTime}) |
| | | </select> |
| | | <select id="selectDevicePrincipal" resultType="com.ruoyi.device.pojo.Device"> |
| | | select id, |
| | | equipment_manager |
| | | from device |
| | | </select> |
| | | |
| | | <select id="selectDeviceParameterPage" resultType="com.ruoyi.device.pojo.Device"> |
| | | select * from( |
| | |
| | | /** 签名地址 */ |
| | | private String signatureUrl; |
| | | |
| | | /** 个人照片地址 */ |
| | | private String pictureUrl; |
| | | |
| | | /** 单位id */ |
| | | private String company; |
| | | |
| | |
| | | this.signatureUrl = signatureUrl; |
| | | } |
| | | |
| | | public String getPictureUrl() |
| | | { |
| | | return pictureUrl; |
| | | } |
| | | |
| | | public void setPictureUrl(String pictureUrl) |
| | | { |
| | | this.pictureUrl = pictureUrl; |
| | | } |
| | | |
| | | public String getCompany() |
| | | { |
| | | return company; |
| | |
| | | <result property="remark" column="remark" /> |
| | | <result property="nameEn" column="name_en" /> |
| | | <result property="signatureUrl" column="signature_url" /> |
| | | <result property="pictureUrl" column="picture_url" /> |
| | | <result property="company" column="company" /> |
| | | <association property="dept" javaType="SysDept" resultMap="deptResult" /> |
| | | <collection property="roles" javaType="java.util.List" resultMap="RoleResult" /> |
| | |
| | | <if test="remark != null">remark = #{remark},</if> |
| | | <if test="nameEn != null and nameEn != ''">name_en = #{nameEn},</if> |
| | | <if test="signatureUrl != null and signatureUrl != ''">signature_url = #{signatureUrl},</if> |
| | | <if test="pictureUrl != null and pictureUrl != ''">picture_url = #{pictureUrl},</if> |
| | | <if test="company != null and company != ''">company = #{company},</if> |
| | | update_time = sysdate() |
| | | </set> |