Commit 4cb46f93 by 刘宇峰
2 parents 0a883855 08688813
...@@ -13,7 +13,7 @@ spring.cloud.nacos.config.group=NESHIELD_DEV_GROUP ...@@ -13,7 +13,7 @@ spring.cloud.nacos.config.group=NESHIELD_DEV_GROUP
#配置prefix,默认值同${spring.application.name} #配置prefix,默认值同${spring.application.name}
spring.cloud.nacos.config.prefix=${spring.application.name} spring.cloud.nacos.config.prefix=${spring.application.name}
#配置开发环境 #配置开发环境
spring.profiles.active=${profile.active} spring.profiles.active=dev
#配置格式 #配置格式
spring.cloud.nacos.config.file-extension=properties spring.cloud.nacos.config.file-extension=properties
......
...@@ -50,8 +50,11 @@ ...@@ -50,8 +50,11 @@
left join t_user tu on app.created_by = tu.id and tu.del_flag = 0 left join t_user tu on app.created_by = tu.id and tu.del_flag = 0
left join t_dict_data td on app.biz_type=td.dict_value left join t_dict_data td on app.biz_type=td.dict_value
where app.del_flag = 0 and app.status in (1,2,3) and td.dict_type='approval_bustype' where app.del_flag = 0 and app.status in (1,2,3) and td.dict_type='approval_bustype'
<if test="approvalSearch.status !=null and approvalSearch.status != ''"> <if test="approvalSearch.status == 0 ">
and app.status=#{approvalSearch.status} and app.status=1
</if>
<if test="approvalSearch.status ==1 ">
and app.status in (2,3)
</if> </if>
<if test="approvalSearch.busType !=null and approvalSearch.busType != ''"> <if test="approvalSearch.busType !=null and approvalSearch.busType != ''">
and app.biz_type=#{approvalSearch.busType} and app.biz_type=#{approvalSearch.busType}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!