任务详情搜索条件无法使用

gaoming_branch
ALW 3 years ago
parent be2849a706
commit f5575a4074

@ -11,6 +11,7 @@ import com.emr.entity.OffsetLimitPage;
import com.emr.vo.*;
import com.github.pagehelper.Page;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.util.StringUtil;
import org.apache.commons.lang3.StringUtils;
import org.apache.shiro.util.CollectionUtils;
import org.springframework.beans.factory.annotation.Autowired;

@ -19,6 +19,8 @@ import lombok.Data;
public class ArchiveOtherExtVo extends ArchiveOtherExt {
private String idTemp;
private String source;
private Long consumingTime;
private String sysupdatetimeStr;

@ -2,6 +2,10 @@
#POWER_IP = localhost
#POWER_PORT = 8081
#POWER_IP = localhost
#POWER_PORT = 8081
POWER_IP = 200.100.104.40
POWER_PORT = 8081
@ -69,3 +73,7 @@ oraclePassWord = Jswzh
calculationTime= 2022/08/01
qualitySwitch=1

@ -4,9 +4,17 @@
#dataBaseName=gm_record
##\u6570\u636E\u5E93\u5BC6\u7801
#dataBasePassword=docus702
#
##\u6570\u636E\u5E93IP
#dataBaseIp=localhost
##\u6570\u636E\u5E93\u540D\u79F0
#dataBaseName=gm_record
##\u6570\u636E\u5E93\u5BC6\u7801
#dataBasePassword=admin123
#\u6570\u636E\u5E93IP
dataBaseIp=200.100.104.40
dataBaseIp=db.docus.cn
#\u6570\u636E\u5E93\u540D\u79F0
dataBaseName=emr_record
#\u6570\u636E\u5E93\u5BC6\u7801

@ -530,19 +530,21 @@
archive_collect_task a
INNER JOIN archive_detail ON archive_detail.MasterID = a.MasterID
<where>
archive_detail.source in ('1','3')
<if test="mid != null and mid != ''">
and archive_detail.MasterID = #{mid,jdbcType=NVARCHAR}
</if>
<if test="c1 != null and c1 != ''">
and archive_detail.Title like '%${c1}%'
</if>
<if test="sysflag != null">
and archive_detail.Source = #{sysflag,jdbcType=INTEGER}
<if test="source != null and source != ''" >
and archive_detail.Source = #{source}
</if>
<if test="statusflag != null">
and a.state = #{statusflag,jdbcType=INTEGER}
<if test="source == null || source == ''">
and archive_detail.source in ('1','3')
</if>
<if test="statusflag != null">
and a.state = #{statusflag,jdbcType=INTEGER}
</if>
</where>
) temp
LEFT JOIN archive_detail ON temp.DID = archive_detail.id

@ -1221,6 +1221,7 @@ function initTable5(data,sidePagination) {
statusflag:$("#statusflag").val(),
mid: $("#masterId").val(),
sysflag:$("#sysflag").val(),
source:$("#sysflag").val(),
assortId:$("#assortIdSearch").val()
};
return temp;

Loading…
Cancel
Save