Fixed Issues: - globalConfig.js: Added const declarations for 10 undeclared regex variables - globalConfig.js: Fixed getDay() -> getDate() for date comparison - Removed 16 deprecated SQL definitions from 4 map.xml files - Cleaned 615+ commented code blocks from 115 FTL templates Added: - CODE_FIX_PLAN.md: Detailed fix plan for remaining issues Remaining (documented in CODE_FIX_PLAN.md): - 6 async: false AJAX requests to convert - 120+ SELECT * to optimize - 6265+ inline styles to refactor
29 lines
794 B
XML
29 lines
794 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<dynamic-sql>
|
|
<sql id="getPkgList"><![CDATA[
|
|
select
|
|
*
|
|
from JCDP_CHAT_VERSION where 1=1
|
|
<@p p=" AND %s">pkgtype</@p>
|
|
<@p p=" AND %s">isupdatepkg</@p>
|
|
]]>
|
|
</sql>
|
|
|
|
<!-- DEPRECATED: updatePkgListToOld -->
|
|
<sql id="getLastPkg"><![CDATA[
|
|
select
|
|
VERSIONNUMBER,NAME,REMARK,PUBLISHDATE,FILEURL
|
|
from JCDP_CHAT_VERSION where ISLASTVERSION=1
|
|
<@p p=" AND %s">pkgtype</@p>
|
|
<@p p=" AND %s">isupdatepkg</@p>
|
|
]]>
|
|
</sql>
|
|
<sql id="getLastPkgInfo"><![CDATA[
|
|
select
|
|
*
|
|
from JCDP_CHAT_VERSION where ISLASTVERSION=1
|
|
<@p p=" AND %s">pkgtype</@p>
|
|
<@p p=" AND %s">isupdatepkg</@p>
|
|
]]>
|
|
</sql>
|
|
</dynamic-sql> |