删除数据
This commit is contained in:
@ -1,18 +0,0 @@
|
||||
package com.chinaunicom.zyhy.ebtp.supplier.common;
|
||||
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
|
||||
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter;
|
||||
|
||||
@Configuration
|
||||
public class SecurityConfig extends WebSecurityConfigurerAdapter {
|
||||
|
||||
@Override
|
||||
protected void configure(HttpSecurity http) throws Exception {
|
||||
http
|
||||
.authorizeRequests()
|
||||
.anyRequest().permitAll()
|
||||
.and()
|
||||
.csrf().disable();
|
||||
}
|
||||
}
|
@ -342,9 +342,7 @@
|
||||
</foreach>
|
||||
</select>
|
||||
|
||||
|
||||
<select id="selectTaskPage" parameterType="map"
|
||||
resultType="com.chinaunicom.zyhy.ebtp.supplier.coscoEvaluate.vo.TaskPageVo">
|
||||
<sql id="taskPageSql">
|
||||
select cet.id,
|
||||
cet.evaluate_theme as evaluateTheme,
|
||||
'单位' as tenantName,
|
||||
@ -367,8 +365,16 @@
|
||||
|
||||
left join cosco_evaluate_task_supplier_user cetsu on cet.id=cetsu.evaluate_task_id
|
||||
left join cosco_category cec on cet.category_id=cec.id
|
||||
</sql>
|
||||
|
||||
<select id="selectTaskPage" parameterType="map"
|
||||
resultType="com.chinaunicom.zyhy.ebtp.supplier.coscoEvaluate.vo.TaskPageVo">
|
||||
<include refid="taskPageSql"></include>
|
||||
<where>
|
||||
and cet.del_flag='normal'
|
||||
<if test="vo.deptId!=null and vo.deptId!=null">
|
||||
and cet.dept_id =#{vo.deptId}
|
||||
</if>
|
||||
<if test="vo.userId!=null">
|
||||
and cetsu.user_id=#{vo.userId}
|
||||
</if>
|
||||
@ -381,8 +387,8 @@
|
||||
<if test="vo.startTime!=null and vo.endTime!=null">
|
||||
and cet.start_time between #{vo.startTime} and #{vo.endTime}
|
||||
</if>
|
||||
|
||||
</where>
|
||||
group by id
|
||||
order by cet.create_time desc
|
||||
</select>
|
||||
<select id="selectMyPage"
|
||||
|
Reference in New Issue
Block a user