Compare commits
No commits in common. "742295fd292a5810a2ffcc7864ff25adb9ba18b0" and "e314ab4850f2783e80ac25711fdeb1ea0592e8c2" have entirely different histories.
742295fd29
...
e314ab4850
|
@ -108,7 +108,6 @@ public class TextLibraryController extends BaseController {
|
||||||
}
|
}
|
||||||
if (StringUtils.isEmpty(pd.getString("CORPINFO_ID")))pd.put("CORPINFO_ID",Jurisdiction.getCORPINFO_ID());
|
if (StringUtils.isEmpty(pd.getString("CORPINFO_ID")))pd.put("CORPINFO_ID",Jurisdiction.getCORPINFO_ID());
|
||||||
|
|
||||||
|
|
||||||
if ("3".equals(pd.getString("ASSOCIATION"))) {
|
if ("3".equals(pd.getString("ASSOCIATION"))) {
|
||||||
pd.put("TYPE_ONE", "43ed4012090d4614bb35da60d06c8264");
|
pd.put("TYPE_ONE", "43ed4012090d4614bb35da60d06c8264");
|
||||||
pd.put("plan",pd.getString("CATEGORY_ID"));
|
pd.put("plan",pd.getString("CATEGORY_ID"));
|
||||||
|
@ -125,11 +124,6 @@ public class TextLibraryController extends BaseController {
|
||||||
}
|
}
|
||||||
|
|
||||||
pd.put("STATUS","1");
|
pd.put("STATUS","1");
|
||||||
// 标准规范库特殊处理
|
|
||||||
if ("~".equals(pd.getString("CORPINFO_ID"))) {
|
|
||||||
pd.put("CORPINFO_ID", null);
|
|
||||||
pd.put("STATUS", null);
|
|
||||||
}
|
|
||||||
|
|
||||||
page.setPd(pd);
|
page.setPd(pd);
|
||||||
List<PageData> varList = textlibraryService.list(page);
|
List<PageData> varList = textlibraryService.list(page);
|
||||||
|
|
|
@ -54,10 +54,6 @@ public class TextLibraryServiceImpl implements TextLibraryService {
|
||||||
@Value("${heBeiQinAnFile}")
|
@Value("${heBeiQinAnFile}")
|
||||||
private String heBeiQinAnFile;
|
private String heBeiQinAnFile;
|
||||||
|
|
||||||
@Value("${biaoZhunShuJuKu}")
|
|
||||||
private String biaoZhunShuJuKu;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 新增
|
* 新增
|
||||||
*
|
*
|
||||||
|
@ -111,12 +107,8 @@ public class TextLibraryServiceImpl implements TextLibraryService {
|
||||||
}
|
}
|
||||||
// 如果是迁移数据就用河北秦安的路径
|
// 如果是迁移数据就用河北秦安的路径
|
||||||
for (PageData entity : list) {
|
for (PageData entity : list) {
|
||||||
String url = entity.getString("PATH");
|
if(!"1".equals(entity.getString("MIGRATION_FLAG"))){
|
||||||
if (!"1".equals(entity.getString("MIGRATION_FLAG"))) {
|
entity.put("PATH",heBeiQinAnFile + entity.getString("PATH"));
|
||||||
entity.put("PATH", heBeiQinAnFile + url);
|
|
||||||
}
|
|
||||||
if ("2".equals(entity.getString("MIGRATION_FLAG"))) {
|
|
||||||
entity.put("PATH", biaoZhunShuJuKu + url);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return list;
|
return list;
|
||||||
|
|
|
@ -100,7 +100,6 @@ http.file.url=http://192.168.192.201:8991/file/
|
||||||
|
|
||||||
#河北秦安文件服务器前缀
|
#河北秦安文件服务器前缀
|
||||||
heBeiQinAnFile=https://file.zcloudchina.com/YTHFile
|
heBeiQinAnFile=https://file.zcloudchina.com/YTHFile
|
||||||
biaoZhunShuJuKu=https://file.zcloudchina.com/
|
|
||||||
|
|
||||||
liteflow.rule-source=flow.xml
|
liteflow.rule-source=flow.xml
|
||||||
liteflow.print-execution-log=false
|
liteflow.print-execution-log=false
|
||||||
|
|
|
@ -32,14 +32,7 @@
|
||||||
f.STATUS,
|
f.STATUS,
|
||||||
f.BUS_TEXT_LIBRARY_ID,
|
f.BUS_TEXT_LIBRARY_ID,
|
||||||
f.MIGRATION_FLAG,
|
f.MIGRATION_FLAG,
|
||||||
f.CORPINFO_ID,
|
f.CORPINFO_ID
|
||||||
f.CODE_NAME,
|
|
||||||
f.PUBLISHES,
|
|
||||||
f.TEXT_NAME,
|
|
||||||
f.PUBLICATION_DATE,
|
|
||||||
f.IMPLEMENTATION_DATE,
|
|
||||||
f.TYPE_TWO,
|
|
||||||
f.TYPE_TWO_NAME
|
|
||||||
</sql>
|
</sql>
|
||||||
|
|
||||||
<!-- 字段用于新增 -->
|
<!-- 字段用于新增 -->
|
||||||
|
@ -61,15 +54,8 @@
|
||||||
ASSOCIATION,
|
ASSOCIATION,
|
||||||
STATUS,
|
STATUS,
|
||||||
BUS_TEXT_LIBRARY_ID,
|
BUS_TEXT_LIBRARY_ID,
|
||||||
MIGRATION_FLAG,
|
|
||||||
CORPINFO_ID,
|
CORPINFO_ID,
|
||||||
CODE_NAME,
|
MIGRATION_FLAG
|
||||||
PUBLISHES,
|
|
||||||
TEXT_NAME,
|
|
||||||
PUBLICATION_DATE,
|
|
||||||
IMPLEMENTATION_DATE,
|
|
||||||
TYPE_TWO,
|
|
||||||
TYPE_TWO_NAME
|
|
||||||
</sql>
|
</sql>
|
||||||
|
|
||||||
<!-- 字段值 -->
|
<!-- 字段值 -->
|
||||||
|
@ -91,15 +77,8 @@
|
||||||
#{ASSOCIATION},
|
#{ASSOCIATION},
|
||||||
#{STATUS},
|
#{STATUS},
|
||||||
#{BUS_TEXT_LIBRARY_ID},
|
#{BUS_TEXT_LIBRARY_ID},
|
||||||
#{MIGRATION_FLAG},
|
|
||||||
#{CORPINFO_ID},
|
#{CORPINFO_ID},
|
||||||
#{CODE_NAME},
|
#{MIGRATION_FLAG}
|
||||||
#{PUBLISHES},
|
|
||||||
#{TEXT_NAME},
|
|
||||||
#{PUBLICATION_DATE},
|
|
||||||
#{IMPLEMENTATION_DATE},
|
|
||||||
#{TYPE_TWO},
|
|
||||||
#{TYPE_TWO_NAME}
|
|
||||||
</sql>
|
</sql>
|
||||||
|
|
||||||
<!-- 新增-->
|
<!-- 新增-->
|
||||||
|
@ -145,13 +124,6 @@
|
||||||
STATUS = #{STATUS},
|
STATUS = #{STATUS},
|
||||||
CORPINFO_ID = #{CORPINFO_ID},
|
CORPINFO_ID = #{CORPINFO_ID},
|
||||||
MIGRATION_FLAG = #{MIGRATION_FLAG},
|
MIGRATION_FLAG = #{MIGRATION_FLAG},
|
||||||
CODE_NAME = #{CODE_NAME},
|
|
||||||
PUBLISHES = #{PUBLISHES},
|
|
||||||
TEXT_NAME = #{TEXT_NAME},
|
|
||||||
PUBLICATION_DATE = #{PUBLICATION_DATE},
|
|
||||||
IMPLEMENTATION_DATE = #{IMPLEMENTATION_DATE},
|
|
||||||
TYPE_TWO = #{TYPE_TWO},
|
|
||||||
TYPE_TWO_NAME = #{TYPE_TWO_NAME},
|
|
||||||
BUS_TEXT_LIBRARY_ID = BUS_TEXT_LIBRARY_ID
|
BUS_TEXT_LIBRARY_ID = BUS_TEXT_LIBRARY_ID
|
||||||
where
|
where
|
||||||
BUS_TEXT_LIBRARY_ID = #{BUS_TEXT_LIBRARY_ID}
|
BUS_TEXT_LIBRARY_ID = #{BUS_TEXT_LIBRARY_ID}
|
||||||
|
@ -180,9 +152,6 @@
|
||||||
<if test="pd.KEYWORDS != null and pd.KEYWORDS != ''"><!-- 关键词检索 -->
|
<if test="pd.KEYWORDS != null and pd.KEYWORDS != ''"><!-- 关键词检索 -->
|
||||||
and f.REMARKS LIKE CONCAT(CONCAT('%', #{pd.KEYWORDS}),'%')
|
and f.REMARKS LIKE CONCAT(CONCAT('%', #{pd.KEYWORDS}),'%')
|
||||||
</if>
|
</if>
|
||||||
<if test="pd.KEYWORD != null and pd.KEYWORD != ''"><!-- 关键词检索 -->
|
|
||||||
and (f.TYPE_NAME LIKE CONCAT(CONCAT('%', #{pd.KEYWORD}),'%') or f.TYPE_TWO_NAME LIKE CONCAT(CONCAT('%', #{pd.KEYWORD}),'%'))
|
|
||||||
</if>
|
|
||||||
<if test="pd.LABELS != null and pd.LABELS.length > 0">
|
<if test="pd.LABELS != null and pd.LABELS.length > 0">
|
||||||
and exists(select 1 from bus_library_labels b where b.BUS_TEXT_LIBRARY_ID = f.BUS_TEXT_LIBRARY_ID and
|
and exists(select 1 from bus_library_labels b where b.BUS_TEXT_LIBRARY_ID = f.BUS_TEXT_LIBRARY_ID and
|
||||||
b.BUS_LABEL_FACTORY_ID in
|
b.BUS_LABEL_FACTORY_ID in
|
||||||
|
@ -215,15 +184,6 @@
|
||||||
<if test="pd.LIBRARY_FLAG != null and pd.LIBRARY_FLAG != ''">
|
<if test="pd.LIBRARY_FLAG != null and pd.LIBRARY_FLAG != ''">
|
||||||
and (f.MIGRATION_FLAG = '0' or f.MIGRATION_FLAG is null)
|
and (f.MIGRATION_FLAG = '0' or f.MIGRATION_FLAG is null)
|
||||||
</if>
|
</if>
|
||||||
<if test="pd.TYPE != null and pd.TYPE != ''">
|
|
||||||
and f.TYPE = #{pd.TYPE}
|
|
||||||
</if>
|
|
||||||
<if test="pd.TYPE_TWO != null and pd.TYPE_TWO != ''">
|
|
||||||
and f.TYPE_TWO like CONCAT('%' #{pd.TYPE_TWO}, '%')
|
|
||||||
</if>
|
|
||||||
<if test="pd.TEXT_NAME != null and pd.TEXT_NAME != ''">
|
|
||||||
and f.TEXT_NAME like CONCAT('%' #{pd.TEXT_NAME}, '%')
|
|
||||||
</if>
|
|
||||||
order by f.ISTOPTIME desc,f.CREATED_TIME desc
|
order by f.ISTOPTIME desc,f.CREATED_TIME desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue