门诊采血维护功能
This commit is contained in:
parent
81301dbcb6
commit
dd19eab60a
@ -10,7 +10,7 @@ public class HttpStatus
|
||||
/**
|
||||
* 操作成功
|
||||
*/
|
||||
public static final int SUCCESS = 200;
|
||||
public static final int SUCCESS = 0;
|
||||
|
||||
/**
|
||||
* 对象创建成功
|
||||
@ -50,12 +50,12 @@ public class HttpStatus
|
||||
/**
|
||||
* 未授权
|
||||
*/
|
||||
public static final int UNAUTHORIZED = 401;
|
||||
public static final int UNAUTHORIZED = -1;
|
||||
|
||||
/**
|
||||
* 访问受限,授权过期
|
||||
*/
|
||||
public static final int FORBIDDEN = 403;
|
||||
public static final int FORBIDDEN = -1;
|
||||
|
||||
/**
|
||||
* 资源,服务未找到
|
||||
@ -80,7 +80,7 @@ public class HttpStatus
|
||||
/**
|
||||
* 系统内部错误
|
||||
*/
|
||||
public static final int ERROR = 500;
|
||||
public static final int ERROR = -1;
|
||||
|
||||
/**
|
||||
* 接口未实现
|
||||
@ -90,5 +90,5 @@ public class HttpStatus
|
||||
/**
|
||||
* 系统警告消息
|
||||
*/
|
||||
public static final int WARN = 601;
|
||||
public static final int WARN = -1;
|
||||
}
|
||||
|
||||
@ -0,0 +1,48 @@
|
||||
package com.czlis.mzcx.controller;
|
||||
|
||||
import com.czlis.common.core.controller.BaseController;
|
||||
import com.czlis.common.core.domain.Result;
|
||||
import com.czlis.common.core.page.TableDataInfo;
|
||||
import com.czlis.mzcx.pojo.LabFeeitemVsClass;
|
||||
import com.czlis.mzcx.service.FeeitemVsClassService;
|
||||
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.*;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 条码类别与项目对照
|
||||
*/
|
||||
@Api(tags = "条码类别与项目对照")
|
||||
@RestController
|
||||
@RequestMapping("/feeitemvsclass")
|
||||
@Slf4j
|
||||
public class FeeitemVsClassController extends BaseController {
|
||||
|
||||
@Autowired
|
||||
private FeeitemVsClassService feeitemVsClassService;
|
||||
|
||||
@ApiOperation("查询条码类别与项目对照")
|
||||
@GetMapping("/query")
|
||||
public TableDataInfo query(LabFeeitemVsClass labFeeitemVsClass) {
|
||||
startPage();
|
||||
List<LabFeeitemVsClass> labFeeitemVsClassList = feeitemVsClassService.query(labFeeitemVsClass);
|
||||
return getDataTable(labFeeitemVsClassList);
|
||||
}
|
||||
|
||||
@ApiOperation("新增条码类别与项目对照")
|
||||
@PostMapping("/add")
|
||||
public Result add(@RequestBody LabFeeitemVsClass labFeeitemVsClass) {
|
||||
feeitemVsClassService.add(labFeeitemVsClass);
|
||||
return new Result("0","添加成功!");
|
||||
}
|
||||
|
||||
@ApiOperation("删除条码类别与项目对照")
|
||||
@DeleteMapping("/del")
|
||||
public Result del(){
|
||||
return null;
|
||||
}
|
||||
}
|
||||
@ -1,22 +1,72 @@
|
||||
package com.czlis.mzcx.controller;
|
||||
|
||||
import com.czlis.common.core.controller.BaseController;
|
||||
import com.czlis.common.core.domain.Result;
|
||||
import com.czlis.common.core.page.TableDataInfo;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import com.czlis.mzcx.pojo.LabRptgetRule;
|
||||
import com.czlis.mzcx.pojo.LabRptgetRuleDTO;
|
||||
import com.czlis.mzcx.pojo.LabRptgetRuleDetail;
|
||||
import com.czlis.mzcx.service.RptgetRuleService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 报告领取规则
|
||||
*/
|
||||
@Api(tags = "报告领取规则")
|
||||
@RestController
|
||||
@RequestMapping("/rptgetrule")
|
||||
public class RptgetRuleController extends BaseController {
|
||||
|
||||
@Autowired
|
||||
private RptgetRuleService rptgetRuleService;
|
||||
|
||||
@ApiOperation("查询报告领取规则列表")
|
||||
@GetMapping("/query")
|
||||
public TableDataInfo query(){
|
||||
public TableDataInfo query(LabRptgetRule rule) {
|
||||
startPage();
|
||||
return null;
|
||||
List<LabRptgetRule> labRptgetRuleList = rptgetRuleService.query(rule);
|
||||
return getDataTable(labRptgetRuleList);
|
||||
}
|
||||
|
||||
@ApiOperation("根据代号查询报告领取规则明细")
|
||||
@GetMapping("/queryDetail")
|
||||
public Result queryDetail(@NotBlank(message = "参数名称不能为空") String bglqdh) {
|
||||
List<LabRptgetRuleDetail> labRptgetRuleDetailList = rptgetRuleService.queryDetail(bglqdh);
|
||||
if(labRptgetRuleDetailList != null && labRptgetRuleDetailList.size() > 0){
|
||||
return new Result("0","查询成功!",labRptgetRuleDetailList);
|
||||
}
|
||||
return new Result("-1","没有查询到对应的明细数据!");
|
||||
}
|
||||
|
||||
@ApiOperation("新增报告领取规则")
|
||||
@PostMapping("/add")
|
||||
public Result add(@RequestBody LabRptgetRuleDTO labRptgetRuleDTO) {
|
||||
return rptgetRuleService.add(labRptgetRuleDTO);
|
||||
}
|
||||
|
||||
|
||||
@ApiOperation("修改报告领取规则")
|
||||
@PostMapping("/update")
|
||||
public Result update(@RequestBody LabRptgetRuleDTO labRptgetRuleDTO) {
|
||||
return rptgetRuleService.update(labRptgetRuleDTO);
|
||||
}
|
||||
|
||||
@ApiOperation("删除报告领取规则列表")
|
||||
@DeleteMapping("/del")
|
||||
public Result delete(String bglqdh){
|
||||
return rptgetRuleService.delete(bglqdh);
|
||||
}
|
||||
|
||||
@ApiOperation("删除报告领取规则明细")
|
||||
@DeleteMapping("/delDetail")
|
||||
public Result deleteDetail(String bglqdh,Integer xh){
|
||||
return rptgetRuleService.deleteDetail(bglqdh,xh);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -0,0 +1,11 @@
|
||||
package com.czlis.mzcx.mapper;
|
||||
|
||||
import com.czlis.mzcx.pojo.LabFeeitemVsClass;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface FeeitemVsClassMapper {
|
||||
List<LabFeeitemVsClass> query(LabFeeitemVsClass labFeeitemVsClass);
|
||||
|
||||
void add(LabFeeitemVsClass labFeeitemVsClass);
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.czlis.mzcx.mapper;
|
||||
|
||||
import com.czlis.mzcx.pojo.LabRptgetRule;
|
||||
import com.czlis.mzcx.pojo.LabRptgetRuleDetail;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface RptgetRuleMapper {
|
||||
List<LabRptgetRule> query(LabRptgetRule rule);
|
||||
List<LabRptgetRuleDetail> queryDetail(String bglqdh);
|
||||
void insert(LabRptgetRule rule);
|
||||
void insertDetail(LabRptgetRuleDetail ruleDetail);
|
||||
void update(LabRptgetRule rule);
|
||||
void updateDetail(LabRptgetRuleDetail ruleDetail);
|
||||
void delete(String bglqdh);
|
||||
void deleteDetail(String bglqdh, Integer xh);
|
||||
Long getLabRptgetRuleDetailCount(String bglqdh);
|
||||
}
|
||||
@ -0,0 +1,19 @@
|
||||
package com.czlis.mzcx.pojo;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class LabFeeitemVsClass {
|
||||
@NotBlank(message = "sflbdh不能为空")
|
||||
private String sflbdh;
|
||||
@NotBlank(message = "xh不能为空")
|
||||
private Integer xh;
|
||||
@NotBlank(message = "sfxmdh不能为空")
|
||||
private String sfxmdh;
|
||||
}
|
||||
15
mzcx/src/main/java/com/czlis/mzcx/pojo/LabRptgetRuleDTO.java
Normal file
15
mzcx/src/main/java/com/czlis/mzcx/pojo/LabRptgetRuleDTO.java
Normal file
@ -0,0 +1,15 @@
|
||||
package com.czlis.mzcx.pojo;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class LabRptgetRuleDTO {
|
||||
List<LabRptgetRule> ruleList;
|
||||
List<LabRptgetRuleDetail> ruleDetailList;
|
||||
}
|
||||
@ -0,0 +1,12 @@
|
||||
package com.czlis.mzcx.service;
|
||||
|
||||
import com.czlis.mzcx.pojo.LabFeeitemVsClass;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface FeeitemVsClassService {
|
||||
List<LabFeeitemVsClass> query(LabFeeitemVsClass labFeeitemVsClass);
|
||||
|
||||
void add(LabFeeitemVsClass labFeeitemVsClass);
|
||||
|
||||
}
|
||||
@ -0,0 +1,22 @@
|
||||
package com.czlis.mzcx.service;
|
||||
|
||||
import com.czlis.common.core.domain.Result;
|
||||
import com.czlis.mzcx.pojo.LabRptgetRule;
|
||||
import com.czlis.mzcx.pojo.LabRptgetRuleDTO;
|
||||
import com.czlis.mzcx.pojo.LabRptgetRuleDetail;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface RptgetRuleService {
|
||||
List<LabRptgetRule> query(LabRptgetRule rule);
|
||||
|
||||
List<LabRptgetRuleDetail> queryDetail(String bglqdh);
|
||||
|
||||
Result add(LabRptgetRuleDTO labRptgetRuleDTO);
|
||||
|
||||
Result update(LabRptgetRuleDTO labRptgetRuleDTO);
|
||||
|
||||
Result delete(String bglqdh);
|
||||
|
||||
Result deleteDetail(String bglqdh, Integer xh);
|
||||
}
|
||||
@ -0,0 +1,30 @@
|
||||
package com.czlis.mzcx.service.impl;
|
||||
|
||||
import com.czlis.mzcx.mapper.FeeitemVsClassMapper;
|
||||
import com.czlis.mzcx.pojo.LabFeeitemVsClass;
|
||||
import com.czlis.mzcx.service.FeeitemVsClassService;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import java.util.List;
|
||||
|
||||
@Service
|
||||
@Slf4j
|
||||
public class FeeitemVsClassServiceImpl implements FeeitemVsClassService {
|
||||
|
||||
@Autowired
|
||||
FeeitemVsClassMapper feeitemVsClassMapper;
|
||||
|
||||
@Override
|
||||
public List<LabFeeitemVsClass> query(LabFeeitemVsClass labFeeitemVsClass) {
|
||||
return feeitemVsClassMapper.query(labFeeitemVsClass);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void add(LabFeeitemVsClass labFeeitemVsClass) {
|
||||
feeitemVsClassMapper.add(labFeeitemVsClass);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,88 @@
|
||||
package com.czlis.mzcx.service.impl;
|
||||
|
||||
import com.czlis.common.core.domain.Result;
|
||||
import com.czlis.mzcx.mapper.RptgetRuleMapper;
|
||||
import com.czlis.mzcx.pojo.LabRptgetRule;
|
||||
import com.czlis.mzcx.pojo.LabRptgetRuleDTO;
|
||||
import com.czlis.mzcx.pojo.LabRptgetRuleDetail;
|
||||
import com.czlis.mzcx.service.RptgetRuleService;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Service
|
||||
@Slf4j
|
||||
public class RptgetRuleServiceImpl implements RptgetRuleService {
|
||||
|
||||
@Autowired
|
||||
private RptgetRuleMapper rptgetRuleMapper;
|
||||
|
||||
|
||||
@Override
|
||||
public List<LabRptgetRule> query(LabRptgetRule rule) {
|
||||
return rptgetRuleMapper.query(rule);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<LabRptgetRuleDetail> queryDetail(String bglqdh) {
|
||||
return rptgetRuleMapper.queryDetail(bglqdh);
|
||||
}
|
||||
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
@Override
|
||||
public Result add(LabRptgetRuleDTO labRptgetRuleDTO) {
|
||||
List<LabRptgetRule> ruleList = labRptgetRuleDTO.getRuleList();
|
||||
for (LabRptgetRule labRptgetRule : ruleList) {
|
||||
Integer bglqdh = labRptgetRule.getBglqdh();
|
||||
if(bglqdh == null || bglqdh == 0) return new Result("-1","报告列表中的报告领取代码不可以为空!");
|
||||
rptgetRuleMapper.insert(labRptgetRule);
|
||||
}
|
||||
|
||||
List<LabRptgetRuleDetail> ruleDetailList = labRptgetRuleDTO.getRuleDetailList();
|
||||
for (LabRptgetRuleDetail labRptgetRuleDetail : ruleDetailList) {
|
||||
Integer bglqdh = labRptgetRuleDetail.getBglqdh();
|
||||
if(bglqdh == null || bglqdh == 0) return new Result("-1","报告明细表中的报告领取代码不可以为空!");
|
||||
rptgetRuleMapper.insertDetail(labRptgetRuleDetail);
|
||||
}
|
||||
|
||||
return new Result("0","添加成功!");
|
||||
|
||||
}
|
||||
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
@Override
|
||||
public Result update(LabRptgetRuleDTO labRptgetRuleDTO) {
|
||||
List<LabRptgetRule> ruleList = labRptgetRuleDTO.getRuleList();
|
||||
for (LabRptgetRule labRptgetRule : ruleList) {
|
||||
Integer bglqdh = labRptgetRule.getBglqdh();
|
||||
if(bglqdh == null || bglqdh == 0) return new Result("-1","报告列表中的报告领取代码不可以为空!");
|
||||
rptgetRuleMapper.update(labRptgetRule);
|
||||
}
|
||||
|
||||
List<LabRptgetRuleDetail> ruleDetailList = labRptgetRuleDTO.getRuleDetailList();
|
||||
for (LabRptgetRuleDetail labRptgetRuleDetail : ruleDetailList) {
|
||||
Integer bglqdh = labRptgetRuleDetail.getBglqdh();
|
||||
if(bglqdh == null || bglqdh == 0) return new Result("-1","报告明细表中的报告领取代码不可以为空!");
|
||||
rptgetRuleMapper.updateDetail(labRptgetRuleDetail);
|
||||
}
|
||||
return new Result("0","修改成功!");
|
||||
}
|
||||
|
||||
@Override
|
||||
public Result delete(String bglqdh) {
|
||||
Long labRptgetRuleDetailCount = rptgetRuleMapper.getLabRptgetRuleDetailCount(bglqdh);
|
||||
if(labRptgetRuleDetailCount > 0) return new Result("-1","存在报告领取规则明细数据,请先删除明细数据再删除列表数据!");
|
||||
rptgetRuleMapper.delete(bglqdh);
|
||||
return new Result("0","删除报告领取规则列表成功!");
|
||||
}
|
||||
|
||||
@Override
|
||||
public Result deleteDetail(String bglqdh, Integer xh) {
|
||||
rptgetRuleMapper.deleteDetail(bglqdh,xh);
|
||||
return new Result("0","删除报告领取规则明细成功!");
|
||||
}
|
||||
|
||||
}
|
||||
28
mzcx/src/main/resources/mapper/FeeitemVsClassMapper.xml
Normal file
28
mzcx/src/main/resources/mapper/FeeitemVsClassMapper.xml
Normal file
@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.czlis.mzcx.mapper.FeeitemClassMapper">
|
||||
|
||||
<select id="query" resultType="com.czlis.mzcx.pojo.LabFeeitemVsClass">
|
||||
select * from lab_feeitem_vs_class
|
||||
<where>
|
||||
<if test="sflbdh != null and sflbdh != ''"> and sflbdh = #{sflbdh}</if>
|
||||
<if test="sfxmdh != null and sfxmdh != ''"> and sfxmdh = #{sfxmdh}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<insert id="add">
|
||||
insert into lab_feeitem_vs_class(
|
||||
<if test="xh != null">xh,</if>
|
||||
<if test="sfxmdh != null and sfxmdh != ''">sfxmdh,</if>
|
||||
sflbdh
|
||||
)values(
|
||||
<if test="xh != null">#{xh},</if>
|
||||
<if test="sfxmdh != null and sfxmdh != ''">#{sfxmdh},</if>
|
||||
sflbdh
|
||||
)
|
||||
</insert>
|
||||
|
||||
|
||||
</mapper>
|
||||
93
mzcx/src/main/resources/mapper/RptgetRuleMapper.xml
Normal file
93
mzcx/src/main/resources/mapper/RptgetRuleMapper.xml
Normal file
@ -0,0 +1,93 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.czlis.mzcx.mapper.RptgetRuleMapper">
|
||||
|
||||
<select id="query" resultType="com.czlis.mzcx.pojo.LabRptgetRule">
|
||||
select * from lab_rptgetrule
|
||||
<where>
|
||||
<if test="bglqdh != null"> and bglqdh = #{bglqdh}</if>
|
||||
<if test="bglqmc != null and bglqmc != ''"> and bglqmc = #{bglqmc}</if>
|
||||
<if test="bz != null and bz != ''"> and bz = #{bz}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="queryDetail" resultType="com.czlis.mzcx.pojo.LabRptgetRuleDetail">
|
||||
select * from lab_rptgetruledetail where bglqdh = #{bglqdh}
|
||||
</select>
|
||||
|
||||
<insert id="insert">
|
||||
insert into lab_rptgetrule(
|
||||
<if test="bglqmc != null and bglqmc != ''">bglqmc,</if>
|
||||
<if test="bz != null and bz != ''">bz,</if>
|
||||
bglqdh
|
||||
)
|
||||
values(
|
||||
<if test="bglqmc != null and bglqmc != ''">#{bglqmc},</if>
|
||||
<if test="bz != null and bz != ''">#{bz},</if>
|
||||
#{bglqdh}
|
||||
)
|
||||
</insert>
|
||||
|
||||
<insert id="insertDetail">
|
||||
insert into lab_rptgetruledetail(
|
||||
<if test="kssj != null and kssj != ''">kssj,</if>
|
||||
<if test="jssj != null and jssj != ''">jssj,</if>
|
||||
<if test="bgxss != null">bgxss,</if>
|
||||
<if test="bglqsm != null and bglqsm != ''">bglqsm,</if>
|
||||
<if test="bz != null and bz != ''">bz,</if>
|
||||
<if test="weekday != null and weekday != ''">weekday,</if>
|
||||
<if test="weekday1 != null and weekday1 != ''">weekday1,</if>
|
||||
bglqdh,xh
|
||||
)values(
|
||||
<if test="kssj != null and kssj != ''">#{kssj},</if>
|
||||
<if test="jssj != null and jssj != ''">#{jssj},</if>
|
||||
<if test="bgxss != null">#{bgxss},</if>
|
||||
<if test="bglqsm != null and bglqsm != ''">#{bglqsm},</if>
|
||||
<if test="bz != null and bz != ''">#{bz},</if>
|
||||
<if test="weekday != null and weekday != ''">#{weekday},</if>
|
||||
<if test="weekday1 != null and weekday1 != ''">#{weekday1},</if>
|
||||
#{bglqdh},#{xh}
|
||||
)
|
||||
</insert>
|
||||
|
||||
|
||||
<update id="update" parameterType="com.czlis.mzcx.pojo.LabRptgetRule">
|
||||
update lab_rptgetrule
|
||||
<set>
|
||||
<if test="bglqmc != null and bglqmc != ''">bglqmc = #{bglqmc},</if>
|
||||
<if test="bz != null and bz != ''">bz = #{bz},</if>
|
||||
#{bglqdh}
|
||||
</set>
|
||||
where bglqdh = #{bglqdh}
|
||||
</update>
|
||||
|
||||
<update id="updateDetail" parameterType="com.czlis.mzcx.pojo.LabRptgetRuleDetail">
|
||||
update lab_rptgetruledetail
|
||||
<set>
|
||||
<if test="kssj != null and kssj != ''">kssj = #{kssj},</if>
|
||||
<if test="jssj != null and jssj != ''">jssj = #{jssj},</if>
|
||||
<if test="bgxss != null ">bgxss = #{bgxss},</if>
|
||||
<if test="bglqsm != null and bglqsm != ''">bglqsm = #{bglqsm},</if>
|
||||
<if test="bz != null and bz != ''">bz = #{bz},</if>
|
||||
<if test="weekday != null and weekday != '' ">weekday = #{weekday},</if>
|
||||
<if test="weekday1 != null and weekday1 != ''">weekday1 = #{weekday1},</if>
|
||||
#{bglqdh}
|
||||
</set>
|
||||
where bglqdh = #{bglqdh} and xh = #{xh}
|
||||
</update>
|
||||
|
||||
<delete id="delete">
|
||||
delete from lab_rptgetrule where bglqdh = #{bglqdh}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteDetail">
|
||||
delete from lab_rptgetruledetail where bglqdh = #{bglqdh} and xh = #{xh}
|
||||
</delete>
|
||||
|
||||
<select id="getLabRptgetRuleDetailCount" resultType="Long">
|
||||
select count(1) from lab_rptgetruledetail where bglqdh = #{bglqdh}
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Loading…
x
Reference in New Issue
Block a user