| | |
| | | |
| | | import com.yuanchu.limslaboratory.pojo.MetricalInformation; |
| | | import com.yuanchu.limslaboratory.pojo.dto.UpdateMetricalInformationDto; |
| | | import com.yuanchu.limslaboratory.pojo.dto.UpdatedMetricalInformationDto; |
| | | import com.yuanchu.limslaboratory.service.MetricalInformationService; |
| | | import com.yuanchu.limslaboratory.service.UserService; |
| | | import com.yuanchu.limslaboratory.utils.JackSonUtil; |
| | |
| | | * @author 江苏鵷雏网络科技有限公司 |
| | | * @since 2023-07-20 |
| | | */ |
| | | @Api(tags = "实验室-->设备台账-->4、计量信息") |
| | | @Api(tags = "实验室-->1、设备台账-->4、计量信息") |
| | | @RestController |
| | | @RequestMapping("/metrical-information") |
| | | public class MetricalInformationController { |
| | |
| | | public Result<?> getMapUserInformation() { |
| | | return Result.success(userService.getUserNameAndId()); |
| | | } |
| | | |
| | | @ApiOperation("更新计量结果") |
| | | @PostMapping("/updateMetricalInformationInfo") |
| | | public Result<?> updateMetricalInformationInfo(@RequestBody UpdatedMetricalInformationDto dto){ |
| | | return Result.success(metricalInformationService.updateMetricalInformationInfo(dto)); |
| | | } |
| | | |
| | | } |