检验项目模块
This commit is contained in:
parent
df591dc9a9
commit
bf1a3f8bb3
@ -14,6 +14,7 @@ import com.czlis.common.core.domain.entity.lis.XmInfoVs;
|
||||
import com.czlis.liswork.service.ReportItemService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
@ -25,6 +26,7 @@ import java.util.List;
|
||||
@Api(tags = "检验项目维护")
|
||||
@RestController
|
||||
@RequestMapping("/xminfo")
|
||||
@Slf4j
|
||||
public class ReportItemController extends BaseController {
|
||||
|
||||
@Autowired
|
||||
@ -33,6 +35,7 @@ public class ReportItemController extends BaseController {
|
||||
@ApiOperation("查询检验项目列表")
|
||||
@GetMapping("/query")
|
||||
public TableDataInfo query(XmInfoNew xmInfoNew) {
|
||||
log.info("查询列表:"+xmInfoNew);
|
||||
startPage();
|
||||
List<XmInfoNew> xmInfoNewList = reportItemService.query(xmInfoNew);
|
||||
return getDataTable(xmInfoNewList);
|
||||
|
||||
@ -217,80 +217,80 @@ public class LisWorkServiceImpl implements LisWorkService {
|
||||
labInputcol.setZdts("");
|
||||
labInputcol.setMrz("45");
|
||||
ResultConfig.add(0,labInputcol);
|
||||
labInputcol=new LabInputcol();
|
||||
labInputcol.setXh(1);
|
||||
labInputcol.setYq(yq);
|
||||
labInputcol.setZdmc("redo_flag");
|
||||
labInputcol.setKj("1");
|
||||
labInputcol.setKybj("0");
|
||||
labInputcol.setZdts("复");
|
||||
labInputcol.setMrz("45");
|
||||
ResultConfig.add(1,labInputcol);
|
||||
labInputcol=new LabInputcol();
|
||||
labInputcol.setXh(2);
|
||||
labInputcol.setYq(yq);
|
||||
labInputcol.setZdmc("xmdh");
|
||||
labInputcol.setKj("1");
|
||||
labInputcol.setKybj("0");
|
||||
labInputcol.setZdts("项目");
|
||||
labInputcol.setDict("xmdh");
|
||||
labInputcol.setMrz("90");
|
||||
ResultConfig.add(2,labInputcol);
|
||||
labInputcol=new LabInputcol();
|
||||
labInputcol.setXh(3);
|
||||
labInputcol.setYq(yq);
|
||||
labInputcol.setZdmc("xmmc");
|
||||
labInputcol.setKj("1");
|
||||
labInputcol.setKybj("0");
|
||||
labInputcol.setZdts("名称");
|
||||
labInputcol.setMrz("120");
|
||||
ResultConfig.add(3,labInputcol);
|
||||
labInputcol=new LabInputcol();
|
||||
labInputcol.setXh(4);
|
||||
labInputcol.setYq(yq);
|
||||
labInputcol.setZdmc("csjg");
|
||||
labInputcol.setKj("1");
|
||||
labInputcol.setKybj("1");
|
||||
labInputcol.setZdts(result_label);
|
||||
labInputcol.setDict("xmval");
|
||||
labInputcol.setMrz("100");
|
||||
ResultConfig.add(4,labInputcol);
|
||||
labInputcol=new LabInputcol();
|
||||
labInputcol.setXh(5);
|
||||
labInputcol.setYq(yq);
|
||||
labInputcol.setZdmc("cp_compa");
|
||||
labInputcol.setKj("1");
|
||||
labInputcol.setKybj("0");
|
||||
labInputcol.setZdts("上次结果");
|
||||
labInputcol.setMrz("100");
|
||||
ResultConfig.add(5,labInputcol);
|
||||
labInputcol=new LabInputcol();
|
||||
LabInputcol labInputcol1=new LabInputcol();
|
||||
labInputcol1.setXh(1);
|
||||
labInputcol1.setYq(yq);
|
||||
labInputcol1.setZdmc("redo_flag");
|
||||
labInputcol1.setKj("1");
|
||||
labInputcol1.setKybj("0");
|
||||
labInputcol1.setZdts("复");
|
||||
labInputcol1.setMrz("45");
|
||||
ResultConfig.add(1,labInputcol1);
|
||||
LabInputcol labInputcol2 = new LabInputcol();
|
||||
labInputcol2.setXh(2);
|
||||
labInputcol2.setYq(yq);
|
||||
labInputcol2.setZdmc("xmdh");
|
||||
labInputcol2.setKj("1");
|
||||
labInputcol2.setKybj("0");
|
||||
labInputcol2.setZdts("项目");
|
||||
labInputcol2.setDict("xmdh");
|
||||
labInputcol2.setMrz("90");
|
||||
ResultConfig.add(2,labInputcol2);
|
||||
LabInputcol labInputcol3 =new LabInputcol();
|
||||
labInputcol3.setXh(3);
|
||||
labInputcol3.setYq(yq);
|
||||
labInputcol3.setZdmc("xmmc");
|
||||
labInputcol3.setKj("1");
|
||||
labInputcol3.setKybj("0");
|
||||
labInputcol3.setZdts("名称");
|
||||
labInputcol3.setMrz("120");
|
||||
ResultConfig.add(3,labInputcol3);
|
||||
LabInputcol labInputcol4 =new LabInputcol();
|
||||
labInputcol4.setXh(4);
|
||||
labInputcol4.setYq(yq);
|
||||
labInputcol4.setZdmc("csjg");
|
||||
labInputcol4.setKj("1");
|
||||
labInputcol4.setKybj("1");
|
||||
labInputcol4.setZdts(result_label);
|
||||
labInputcol4.setDict("xmval");
|
||||
labInputcol4.setMrz("100");
|
||||
ResultConfig.add(4,labInputcol4);
|
||||
LabInputcol labInputcol5 =new LabInputcol();
|
||||
labInputcol5.setXh(5);
|
||||
labInputcol5.setYq(yq);
|
||||
labInputcol5.setZdmc("cp_compa");
|
||||
labInputcol5.setKj("1");
|
||||
labInputcol5.setKybj("0");
|
||||
labInputcol5.setZdts("上次结果");
|
||||
labInputcol5.setMrz("100");
|
||||
ResultConfig.add(5,labInputcol5);
|
||||
LabInputcol labInputcol6 =new LabInputcol();
|
||||
labInputcol.setXh(6);
|
||||
labInputcol.setYq(yq);
|
||||
labInputcol.setZdmc("od");
|
||||
labInputcol.setKj(showodflag);
|
||||
labInputcol.setKybj("1");
|
||||
labInputcol.setZdts(od_label);
|
||||
labInputcol.setMrz("100");
|
||||
ResultConfig.add(6,labInputcol);
|
||||
labInputcol=new LabInputcol();
|
||||
labInputcol.setXh(7);
|
||||
labInputcol.setYq(yq);
|
||||
labInputcol.setZdmc("cutoff");
|
||||
labInputcol.setKj(showcutoffflag);
|
||||
labInputcol.setKybj("1");
|
||||
labInputcol.setZdts(cutoff_label);
|
||||
labInputcol.setMrz("100");
|
||||
ResultConfig.add(7,labInputcol);
|
||||
labInputcol=new LabInputcol();
|
||||
labInputcol.setXh(8);
|
||||
labInputcol.setYq(yq);
|
||||
labInputcol.setZdmc("refs");
|
||||
labInputcol.setKj(showrefsflag);
|
||||
labInputcol.setKybj("0");
|
||||
labInputcol.setZdts("参考值");
|
||||
labInputcol.setMrz("120");
|
||||
ResultConfig.add(8,labInputcol);
|
||||
labInputcol6.setYq(yq);
|
||||
labInputcol6.setZdmc("od");
|
||||
labInputcol6.setKj(showodflag);
|
||||
labInputcol6.setKybj("1");
|
||||
labInputcol6.setZdts(od_label);
|
||||
labInputcol6.setMrz("100");
|
||||
ResultConfig.add(6,labInputcol6);
|
||||
LabInputcol labInputcol7 =new LabInputcol();
|
||||
labInputcol7.setXh(7);
|
||||
labInputcol7.setYq(yq);
|
||||
labInputcol7.setZdmc("cutoff");
|
||||
labInputcol7.setKj(showcutoffflag);
|
||||
labInputcol7.setKybj("1");
|
||||
labInputcol7.setZdts(cutoff_label);
|
||||
labInputcol7.setMrz("100");
|
||||
ResultConfig.add(7,labInputcol7);
|
||||
LabInputcol labInputcol8 =new LabInputcol();
|
||||
labInputcol8.setXh(8);
|
||||
labInputcol8.setYq(yq);
|
||||
labInputcol8.setZdmc("refs");
|
||||
labInputcol8.setKj(showrefsflag);
|
||||
labInputcol8.setKybj("0");
|
||||
labInputcol8.setZdts("参考值");
|
||||
labInputcol8.setMrz("120");
|
||||
ResultConfig.add(8,labInputcol8);
|
||||
// labInputcol=new LabInputcol();
|
||||
// labInputcol.setXh(9);
|
||||
// labInputcol.setYq(yq);
|
||||
@ -300,15 +300,15 @@ public class LisWorkServiceImpl implements LisWorkService {
|
||||
// labInputcol.setZdts("单位");
|
||||
// labInputcol.setMrz("80");
|
||||
// ResultConfig.add(9,labInputcol);
|
||||
labInputcol=new LabInputcol();
|
||||
labInputcol.setXh(9);
|
||||
labInputcol.setYq(yq);
|
||||
labInputcol.setZdmc("bz1");
|
||||
labInputcol.setKj("1");
|
||||
labInputcol.setKybj("0");
|
||||
labInputcol.setZdts("子模块");
|
||||
labInputcol.setMrz("80");
|
||||
ResultConfig.add(9,labInputcol);
|
||||
LabInputcol labInputcol9 =new LabInputcol();
|
||||
labInputcol9.setXh(9);
|
||||
labInputcol9.setYq(yq);
|
||||
labInputcol9.setZdmc("bz1");
|
||||
labInputcol9.setKj("1");
|
||||
labInputcol9.setKybj("0");
|
||||
labInputcol9.setZdts("子模块");
|
||||
labInputcol9.setMrz("80");
|
||||
ResultConfig.add(9,labInputcol9);
|
||||
return ResultConfig;
|
||||
}
|
||||
@Override
|
||||
|
||||
@ -10,6 +10,7 @@
|
||||
<if test="yq != null and yq != ''"> and yq = #{yq}</if>
|
||||
<if test="xmdh != null and xmdh != ''"> and yq = #{xmdh}</if>
|
||||
<if test="isWsw != null and isWsw !=''"><![CDATA[and yqdl <> '细菌仪']]></if>
|
||||
<if test="uflag != null and uflag !=''">and uflag = #{uflag}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user