微生物模块

This commit is contained in:
tangw 2025-11-28 09:51:11 +08:00
parent faf71be5db
commit 002eb05cea
3 changed files with 13 additions and 0 deletions

View File

@ -98,6 +98,12 @@ public class LisWorkGermController extends BaseController {
public Result deletemedresult(@RequestBody LabResultMed labResultmed) {
return lisWorkGermService.deletemedresult(labResultmed);
}
@ApiOperation("获取培养基字典")
@GetMapping("/getbactmedium")
public Result getBactMedium(){
return new Result("0","成功",lisWorkGermMapper.getBactMedium(""));
}
@ApiOperation("获取培养基记录")
@GetMapping("/getmedium")
public Result getmedium(Date jyrq, String yq, String ybh){

View File

@ -22,4 +22,5 @@ public interface LisWorkGermMapper {
String getXmMedDetailBZ(@Param("yq") String yq,@Param("xmdh") String xmdh);
List<Map<String, Object>> getmedgrouplist();
List<XmMedgroup> getmedgroup(String ywzmc);
List<BactMedium> getBactMedium(String mediumno);
}

View File

@ -39,6 +39,12 @@
</where>
order by yq,jyrq DESC,right(space(20) + ybh,20) DESC
</select>
<select id="getBactMedium" resultType="com.czlis.common.core.domain.entity.lis.BactMedium">
SELECT * FROM bact_medium
<where>
<if test="mediumno != null and mediumno !=''">and mediumno >=#{mediumno}</if>
</where>
</select>
<select id="getmedium" resultType="com.czlis.liswork.pojo.DTO.MediumDTO">
SELECT lab_germsheet_new.jyrq,
lab_germsheet_new.yq,