Update:标准解读流程检索

This commit is contained in:
zzy
2021-07-30 16:45:23 +08:00
parent 3c68a2a668
commit faef2cdf59
3 changed files with 26 additions and 0 deletions
@@ -13,6 +13,8 @@ import java.util.Date;
*/ */
public class SarFileSplitInfoEO extends BaseEntity { public class SarFileSplitInfoEO extends BaseEntity {
private String standType;
private String sarType; private String sarType;
private String fileName; private String fileName;
private String id; private String id;
@@ -321,4 +323,12 @@ public class SarFileSplitInfoEO extends BaseEntity {
public void setInfoId(String infoId) { public void setInfoId(String infoId) {
this.infoId = infoId; this.infoId = infoId;
} }
public String getStandType() {
return standType;
}
public void setStandType(String standType) {
this.standType = standType;
}
} }
@@ -10,6 +10,7 @@ import com.adc.da.base.page.BasePage;
*/ */
public class SarFileSplitInfoEOPage extends BasePage { public class SarFileSplitInfoEOPage extends BasePage {
private String standType;
private String sarType; private String sarType;
private String sarTypeOperator = "="; private String sarTypeOperator = "=";
private String fileName; private String fileName;
@@ -49,6 +50,17 @@ public class SarFileSplitInfoEOPage extends BasePage {
private String shunxu; private String shunxu;
public SarFileSplitInfoEOPage() {
}
public String getStandType() {
return standType;
}
public void setStandType(String standType) {
this.standType = standType;
}
public String getResult() { public String getResult() {
return result; return result;
} }
@@ -238,6 +238,7 @@
select * from select * from
(select tmp_tb.* from (select tmp_tb.* from
(SELECT (SELECT
SAR_STANDARDS_INFO.STAND_TYPE AS standType,
SAR_FILE_SPLIT_INFO.*, SAR_FILE_SPLIT_INFO.*,
if( if(
SAR_STANDARDS_INFO.STAND_YEAR='', SAR_STANDARDS_INFO.STAND_YEAR='',
@@ -266,6 +267,9 @@
<if test="sarType != null and sarType != ''"> <if test="sarType != null and sarType != ''">
and SAR_TYPE = #{sarType} and SAR_TYPE = #{sarType}
</if> </if>
<if test="standType != null and standType != ''">
and SAR_STANDARDS_INFO.STAND_TYPE = #{standType}
</if>
<if test="id != null and id != ''"> <if test="id != null and id != ''">
and SAR_FILE_SPLIT_INFO.id = #{id} and SAR_FILE_SPLIT_INFO.id = #{id}
</if> </if>