归档不现实签章内容

master
linjj 10 months ago
parent f03a4a5ac5
commit 0f71707f68

@ -263,10 +263,10 @@ public class lastVerifyController {
archiveMaster.setId(emrFaultDetail.getArchiveDetailId());
archiveMaster.setArchivestate("已归档");
archiveMaster.setCmtDoctor(1);
archiveMaster.setCmtNurse(1);
int bol = archiveMasterService.updateByClo(archiveMaster);
//归档记录添加到commomtable表
CommomVo commomVo = new CommomVo();
archiveMaster.setCmtNurse(1);
List<Archive_Master> archiveMasters = archiveMasterService.selectCommonlyUsed(emrFaultDetail.getArchiveDetailId());
for (Archive_Master list : archiveMasters) {
commomVo.setPatientId(list.getId());

@ -4,15 +4,27 @@
<select id="getThreeDaysFileList" resultType="com.emr.vo.ThreeDaysFileVo">
SELECT COUNT
( * ) AS outNum,
dept_name as deptCode
( * ) AS outNum,
dept_name as deptCode
FROM
Archive_Master
Archive_Master
WHERE
ArchiveState NOT IN ( '作废', '已封存', '取消入院' ) AND id is not null AND dept_name is not null and id!=''
ArchiveState NOT IN ( '作废', '已封存', '取消入院' ) AND id is not null AND dept_name is not null and id!=''
<choose>
<when test="startDateTo != null and startDateTo != '' and endDateTo != null and endDateTo != ''">
and CONVERT(VARCHAR(20),discharge_date_time,23) between #{startDateTo} and
#{endDateTo}
</when>
<when test="startDateTo != null and startDateTo != ''">
and CONVERT(VARCHAR(20),discharge_date_time,23) >=#{startDateTo}
</when>
<when test="endDateTo != null and endDateTo != ''">
and CONVERT(VARCHAR(20),discharge_date_time,23) &lt;= #{endDateTo}
</when>
</choose>
AND inp_no NOT LIKE 'LG%'
GROUP BY
dept_name
dept_name
</select>
<select id="getDay3Rate" resultType="com.emr.vo.ThreeDaysFileVo">
SELECT

@ -211,7 +211,6 @@
<form class="formCss">
<div class="form-inline">
<button type="button" class="btn btn-primary btn-sm divCss" id="searchBtn">查询</button>
<button type="button" class="btn btn-info btn-sm divCss" id="excelBtn">条件导出</button>
<button type="button" class="btn btn-success btn-sm divCss" id="execute">执行计划</button>
</div>
</form>
@ -484,6 +483,7 @@
toastr.warning("正在查询,请稍等...");
}
});
//保存执行计划
$("#save").click(function () {
var day = $('#day').val()

Loading…
Cancel
Save