feat: 拆分页面增加标准拆分状态字段
This commit is contained in:
+4
@@ -85,4 +85,8 @@ public class SplitFileInfo {
|
||||
@TableField(exist = false)
|
||||
private Integer pageSize;
|
||||
|
||||
@TableField(exist = false)
|
||||
@Dict(dicCode = "standard_split_status")
|
||||
private String standardSplitStatus;
|
||||
|
||||
}
|
||||
|
||||
+2
-2
@@ -217,11 +217,11 @@
|
||||
|
||||
<select id="querySplitFileInfoByPage" resultType="com.jero.modules.laws.documenttool.entity.SplitFileInfo">
|
||||
select standard.*, o.id id, o.file_name, o.standard_file_type, o.url
|
||||
from (select id standardId, standard_number, standard_number standardNo, standard_name, standard_state, release_date, 1 origin, create_time, create_by, update_by, update_time, null as esMainDraftUnit
|
||||
from (select id standardId, standard_number, standard_number standardNo, standard_name, standard_state, release_date, 1 origin, create_time, create_by, update_by, update_time, null as esMainDraftUnit, standard_split_status
|
||||
from laws_domestic_standard
|
||||
where del_flag = 0
|
||||
union all
|
||||
select id standardId, standard_number, standard_number standardNo, standard_name, standard_state, release_date, 3 origin, create_time, create_by, update_by, update_time, main_drafting_unit as esMainDraftUnit
|
||||
select id standardId, standard_number, standard_number standardNo, standard_name, standard_state, release_date, 3 origin, create_time, create_by, update_by, update_time, main_drafting_unit as esMainDraftUnit, standard_split_status
|
||||
from laws_enterprise_standard
|
||||
where del_flag = 0) standard left join oss_file o on standardId = o.standard_id
|
||||
${ew.customSqlSegment}
|
||||
|
||||
Reference in New Issue
Block a user