select inst_id as instId, node_id as nodeId,node_param as nodeParam from sop_inst_node where inst_id=#{instId} and node_param->'$.taskType' is not null
select inst_id as instId, node_id as nodeId,node_param as nodeParam from sop_inst_node where inst_id=#{instId} and node_param!='' and node_param->'$.taskType' is not null
</select>
</select>
<updateid="resetInstNodeDailyCount">
<updateid="resetInstNodeDailyCount">
...
@@ -45,7 +45,7 @@
...
@@ -45,7 +45,7 @@
</update>
</update>
<updateid="updateNodeParamById">
<updateid="updateNodeParamById">
update sop_inst_node set node_param = CAST(#{nodeParam} AS JSON) where inst_node_id = #{instNodeId}
update sop_inst_node set node_param = CAST(#{nodeParam, typeHandler=cn.com.glsx.process.modules.handler.JsonTypeHandler} AS JSON) where inst_node_id = #{instNodeId}