认证-上报库-参数项列表修改
This commit is contained in:
+1
-1
@@ -20,6 +20,6 @@ public interface ParamsReportDetailEOMapper extends BaseMapper<ParamsReportDetai
|
||||
List<ParamsReportDetailEO> listInfo(@Param("paramsReportDetailEO") ParamsReportDetailEO paramsReportDetailEO);
|
||||
|
||||
List<Map<String, Object>> listInfoForExport(@Param("idList") List<String> idList,
|
||||
@Param("paramsReportDetailEO") ParamsReportDetailVO paramsReportDetailEO);
|
||||
@Param("paramsReportDetailVO") ParamsReportDetailVO paramsReportDetailVO);
|
||||
|
||||
}
|
||||
|
||||
+26
-26
@@ -31,24 +31,24 @@
|
||||
|
||||
<sql id="BaseQuerySql">
|
||||
<where>
|
||||
<if test="paramsCollectManifestEO != null">
|
||||
<if test="paramsCollectManifestEO.nioNumber !=null and paramsCollectManifestEO.nioNumber !=''">
|
||||
AND nio_number LIKE CONCAT(CONCAT('%',#{paramsCollectManifestEO.nioNumber}),'%')
|
||||
<if test="paramsReportDetailEO != null">
|
||||
<if test="paramsReportDetailEO.nioNumber !=null and paramsReportDetailEO.nioNumber !=''">
|
||||
AND nio_number LIKE CONCAT(CONCAT('%',#{paramsReportDetailEO.nioNumber}),'%')
|
||||
</if>
|
||||
<if test="paramsCollectManifestEO.paramsName !=null and paramsCollectManifestEO.paramsName !=''">
|
||||
AND params_name LIKE CONCAT(CONCAT('%',#{paramsCollectManifestEO.paramsName}),'%')
|
||||
<if test="paramsReportDetailEO.paramsName !=null and paramsReportDetailEO.paramsName !=''">
|
||||
AND params_name LIKE CONCAT(CONCAT('%',#{paramsReportDetailEO.paramsName}),'%')
|
||||
</if>
|
||||
<if test="paramsCollectManifestEO.certCategory !=null and paramsCollectManifestEO.certCategory !=''">
|
||||
AND cert_category LIKE CONCAT(CONCAT('%',#{paramsCollectManifestEO.certCategory}),'%')
|
||||
<if test="paramsReportDetailEO.certCategory !=null and paramsReportDetailEO.certCategory !=''">
|
||||
AND cert_category LIKE CONCAT(CONCAT('%',#{paramsReportDetailEO.certCategory}),'%')
|
||||
</if>
|
||||
<if test="paramsCollectManifestEO.sdt !=null and paramsCollectManifestEO.sdt !=''">
|
||||
AND sdt LIKE CONCAT(CONCAT('%',#{paramsCollectManifestEO.sdt}),'%')
|
||||
<if test="paramsReportDetailEO.sdt !=null and paramsReportDetailEO.sdt !=''">
|
||||
AND sdt LIKE CONCAT(CONCAT('%',#{paramsReportDetailEO.sdt}),'%')
|
||||
</if>
|
||||
<if test="paramsCollectManifestEO.dre !=null and paramsCollectManifestEO.dre !=''">
|
||||
AND dre LIKE CONCAT(CONCAT('%',#{paramsCollectManifestEO.dre}),'%')
|
||||
<if test="paramsReportDetailEO.dre !=null and paramsReportDetailEO.dre !=''">
|
||||
AND dre LIKE CONCAT(CONCAT('%',#{paramsReportDetailEO.dre}),'%')
|
||||
</if>
|
||||
<if test="paramsCollectManifestEO.paramsManifestId !=null and paramsCollectManifestEO.paramsManifestId !=''">
|
||||
AND params_manifest_id = #{paramsCollectManifestEO.paramsManifestId}
|
||||
<if test="paramsReportDetailEO.paramsManifestId !=null and paramsReportDetailEO.paramsManifestId !=''">
|
||||
AND params_manifest_id = #{paramsReportDetailEO.paramsManifestId}
|
||||
</if>
|
||||
|
||||
</if>
|
||||
@@ -57,24 +57,24 @@
|
||||
|
||||
<sql id="BaseQuerySqlForExport">
|
||||
<where>
|
||||
<if test="paramsCollectManifestEO != null">
|
||||
<if test="paramsCollectManifestEO.nioNumber !=null and paramsCollectManifestEO.nioNumber !=''">
|
||||
AND prd.nio_number LIKE CONCAT(CONCAT('%',#{paramsCollectManifestEO.nioNumber}),'%')
|
||||
<if test="paramsReportDetailVO != null">
|
||||
<if test="paramsReportDetailVO.nioNumber !=null and paramsReportDetailVO.nioNumber !=''">
|
||||
AND prd.nio_number LIKE CONCAT(CONCAT('%',#{paramsReportDetailVO.nioNumber}),'%')
|
||||
</if>
|
||||
<if test="paramsCollectManifestEO.paramsName !=null and paramsCollectManifestEO.paramsName !=''">
|
||||
AND prd.params_name LIKE CONCAT(CONCAT('%',#{paramsCollectManifestEO.paramsName}),'%')
|
||||
<if test="paramsReportDetailVO.paramsName !=null and paramsReportDetailVO.paramsName !=''">
|
||||
AND prd.params_name LIKE CONCAT(CONCAT('%',#{paramsReportDetailVO.paramsName}),'%')
|
||||
</if>
|
||||
<if test="paramsCollectManifestEO.certCategory !=null and paramsCollectManifestEO.certCategory !=''">
|
||||
AND prd.cert_category LIKE CONCAT(CONCAT('%',#{paramsCollectManifestEO.certCategory}),'%')
|
||||
<if test="paramsReportDetailVO.certCategory !=null and paramsReportDetailVO.certCategory !=''">
|
||||
AND prd.cert_category LIKE CONCAT(CONCAT('%',#{paramsReportDetailVO.certCategory}),'%')
|
||||
</if>
|
||||
<if test="paramsCollectManifestEO.sdt !=null and paramsCollectManifestEO.sdt !=''">
|
||||
AND prd.sdt LIKE CONCAT(CONCAT('%',#{paramsCollectManifestEO.sdt}),'%')
|
||||
<if test="paramsReportDetailVO.sdt !=null and paramsReportDetailVO.sdt !=''">
|
||||
AND prd.sdt LIKE CONCAT(CONCAT('%',#{paramsReportDetailVO.sdt}),'%')
|
||||
</if>
|
||||
<if test="paramsCollectManifestEO.dre !=null and paramsCollectManifestEO.dre !=''">
|
||||
AND prd.dre LIKE CONCAT(CONCAT('%',#{paramsCollectManifestEO.dre}),'%')
|
||||
<if test="paramsReportDetailVO.dre !=null and paramsReportDetailVO.dre !=''">
|
||||
AND prd.dre LIKE CONCAT(CONCAT('%',#{paramsReportDetailVO.dre}),'%')
|
||||
</if>
|
||||
<if test="paramsCollectManifestEO.paramsManifestId !=null and paramsCollectManifestEO.paramsManifestId !=''">
|
||||
AND prd.params_manifest_id = #{paramsCollectManifestEO.paramsManifestId}
|
||||
<if test="paramsReportDetailVO.paramsManifestId !=null and paramsReportDetailVO.paramsManifestId !=''">
|
||||
AND prd.params_manifest_id = #{paramsReportDetailVO.paramsManifestId}
|
||||
</if>
|
||||
|
||||
</if>
|
||||
|
||||
Reference in New Issue
Block a user