master
hujl 4 years ago
parent 261f0c89b2
commit 7d721c6422

@ -1527,13 +1527,6 @@
LEFT JOIN (select code,name from emr_dictionary where parent_id=(select id from emr_dictionary where typeCode='dept_code' )) e
on m.dept_admission_to=e.code
<where> 1=1
<if test="overdueDaysTwo != null and overdueDaysTwo != ''">
and ISNULL(dbo.f_WorkDay(DATEADD(DAY,1,CONVERT(VARCHAR(10),f1.handle_time,23)),CONVERT(VARCHAR(10),f2.handle_time,23)) , 0)-'3'>#{overdueDaysTwo,jdbcType=NCHAR}
</if>
<if test="overdueDaysTwo == null or overdueDaysTwo == ''">
and ISNULL(dbo.f_WorkDay(DATEADD(DAY,1,CONVERT(VARCHAR(10),f1.handle_time,23)),CONVERT(VARCHAR(10),f2.handle_time,23)) , 0)-'3'>0
</if>
<if test="overdueDaysTwo != null and overdueDaysTwo != '' and overdueDays != null and overdueDays != ''">
and ISNULL(dbo.f_WorkDay(DATEADD(DAY,1,CONVERT(VARCHAR(10),f1.handle_time,23)),CONVERT(VARCHAR(10),f2.handle_time,23)) , 0)-#{overdueDays,jdbcType=NCHAR}>=#{overdueDaysTwo,jdbcType=NCHAR}
</if>

@ -125,7 +125,7 @@
<label>超期天数(查)>=</label>
<input type="text" class="input-sm form-control" id="overdueDays4" placeholder="请输入超期天数">
</div>
<div class="form-group divCss8">
<div class="form-group divCss">
<label>超期天数>=</label>
<input type="text" class="input-sm form-control" id="overdueDays" placeholder="请输入配置超期天数">
</div>
@ -220,7 +220,7 @@
<label>超期天数(查)>=</label>
<input type="text" class="input-sm form-control" id="overdueDays3" placeholder="请输入超期天数">
</div>
<div class="form-group divCss8">
<div class="form-group divCss">
<label>超期天数>=</label>
<input type="text" class="input-sm form-control" id="overdueDays2" placeholder="请输入配置超期天数">
</div>

Loading…
Cancel
Save