|
|
@@ -156,7 +156,7 @@
|
|
|
where a.process_def_name = b.process_def_name
|
|
|
and b.rs_sx_config_lsh = #{ rsSxConfigLsh })
|
|
|
group by lcmc,processdefid, ACTIONDEFID, hjmc, SORTNO
|
|
|
- order by to_number(SORTNO)
|
|
|
+ order by cast(SORTNO as int)
|
|
|
</select>
|
|
|
|
|
|
<select id="getWfActionDefBySxid" resultType="com.zjrs.zwnw.sxgl.dto.SxpzxxLchjDTO">
|
|
|
@@ -166,7 +166,7 @@
|
|
|
from wf_action_def a, rs_sx_config b
|
|
|
where a.process_def_name = b.process_def_name
|
|
|
and b.rs_sx_config_lsh = #{ rsSxConfigLsh }
|
|
|
- order by to_number(a.SORTNO)
|
|
|
+ order by cast(a.SORTNO as int)
|
|
|
</select>
|
|
|
|
|
|
<select id="getSxpzxxLcpzById" resultType="com.zjrs.zwnw.sxgl.dto.SxpzxxLcpzDTO">
|
|
|
@@ -200,7 +200,7 @@
|
|
|
and rownum ='1'
|
|
|
</select>
|
|
|
<select id="getHjID" resultType="java.lang.String">
|
|
|
- select SYS_GUID() from dual
|
|
|
+ select SYS_GUID()
|
|
|
</select>
|
|
|
<select id="getLcpzSetList" resultType="com.zjrs.zwnw.sxgl.dto.SxpzxxLcpzSetListDTO">
|
|
|
select * from (select a.PROCESS_DEF_ID processdefid,
|
|
|
@@ -218,7 +218,7 @@
|
|
|
and a.sfht = '0')
|
|
|
group by processdefid,processdefname,actiondefid,actiondefname,
|
|
|
SORTNO,isPrehj,isHthj,isHthjFdx,isNexthj,isNexthjFdx
|
|
|
- order by to_number(SORTNO)
|
|
|
+ order by cast(SORTNO as int)
|
|
|
</select>
|
|
|
<select id="lcpzSetCheckHj" parameterType="com.zjrs.zwnw.sxgl.dto.SxpzxxLchjDTO" resultType="java.lang.Integer">
|
|
|
select count(1)
|
|
|
@@ -301,7 +301,7 @@
|
|
|
actiondefid,
|
|
|
actiondefname,
|
|
|
SORTNO
|
|
|
- order by to_number(SORTNO)
|
|
|
+ order by cast(SORTNO as int)
|
|
|
</select>
|
|
|
<select id="isWfactiondeftempHaveKysl" resultType="java.lang.Integer">
|
|
|
select count(1)
|