old mode 100644
new mode 100755
| | |
| | | and t.b_id= #{bId} |
| | | </if> |
| | | <if test="communityId !=null and communityId != ''"> |
| | | and t.community_id= #{communityId} |
| | | and t.community_id in (#{communityId},'9999') |
| | | </if> |
| | | <if test="storeId !=null and storeId != ''"> |
| | | and t.store_id= #{storeId} |
| | |
| | | and t.b_id= #{bId} |
| | | </if> |
| | | <if test="communityId !=null and communityId != ''"> |
| | | and t.community_id= #{communityId} |
| | | and t.community_id in (#{communityId},'9999') |
| | | </if> |
| | | <if test="storeId !=null and storeId != ''"> |
| | | and t.store_id= #{storeId} |
| | |
| | | <if test="bId !=null and bId != ''"> |
| | | and t.b_id= #{bId} |
| | | </if> |
| | | <if test="communityId !=null and communityId != ''"> |
| | | <if test="communityId != null and communityId != '' and operationType==null "> |
| | | and t.community_id in (#{communityId},'9999') |
| | | </if> |
| | | <if test="storeId !=null and storeId != ''"> |
| | |
| | | </if> |
| | | <if test="flowType !=null and flowType != ''"> |
| | | and t.flow_type= #{flowType} |
| | | </if> |
| | | <if test="flowTypes !=null"> |
| | | and t.flow_type in |
| | | <foreach collection="flowTypes" item="item" open="(" close=")" separator=","> |
| | | #{item} |
| | | </foreach> |
| | | </if> |
| | | order by t.create_time desc |
| | | <if test="page != -1 and page != null "> |
| | |
| | | <if test="flowType !=null and flowType != ''"> |
| | | , t.flow_type= #{flowType} |
| | | </if> |
| | | <if test="processDefinitionKey !=null and processDefinitionKey != ''"> |
| | | <if test="processDefinitionKey !=null and processDefinitionKey != '' and processDefinitionKey != '-1'"> |
| | | , t.process_definition_key= #{processDefinitionKey} |
| | | </if> |
| | | <if test="processDefinitionKey !=null and processDefinitionKey == '-1'"> |
| | | , t.process_definition_key= '' |
| | | </if> |
| | | where 1=1 |
| | | <if test="bId !=null and bId != ''"> |
| | |
| | | and t.flow_type= #{flowType} |
| | | </if> |
| | | |
| | | <if test="flowTypes !=null"> |
| | | and t.flow_type in |
| | | <foreach collection="flowTypes" item="item" open="(" close=")" separator=","> |
| | | #{item} |
| | | </foreach> |
| | | </if> |
| | | |
| | | |
| | | </select> |
| | | |