三项制度库新增导入数据区分
parent
9222ba833b
commit
f93c185fb0
|
@ -106,8 +106,7 @@ public class TextLibraryController extends BaseController {
|
|||
} else {
|
||||
pd.put("CATEGORY_ID", corp_info.getString("CORP_TYPE4"));
|
||||
}
|
||||
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"))) {
|
||||
pd.put("TYPE_ONE", "43ed4012090d4614bb35da60d06c8264");
|
||||
|
|
|
@ -178,6 +178,12 @@
|
|||
<if test="pd.ENTERPRISE_SIDE != null and pd.ENTERPRISE_SIDE != ''">
|
||||
and f.CORPINFO_ID != #{pd.ENTERPRISE_SIDE}
|
||||
</if>
|
||||
<if test="pd.MIGRATION_FLAG != null and pd.MIGRATION_FLAG != ''">
|
||||
and f.MIGRATION_FLAG = #{pd.MIGRATION_FLAG}
|
||||
</if>
|
||||
<if test="pd.LIBRARY_FLAG != null and pd.LIBRARY_FLAG != ''">
|
||||
and (f.MIGRATION_FLAG = '0' or f.MIGRATION_FLAG is null)
|
||||
</if>
|
||||
order by f.ISTOPTIME desc,f.CREATED_TIME desc
|
||||
</select>
|
||||
|
||||
|
|
Loading…
Reference in New Issue