修改报错
This commit is contained in:
parent
9d4855b46f
commit
cd1e038272
|
|
@ -4,6 +4,7 @@ import org.springframework.boot.SpringApplication;
|
||||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||||
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
|
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
|
||||||
import com.securitycontrol.common.security.annotation.EnableRyFeignClients;
|
import com.securitycontrol.common.security.annotation.EnableRyFeignClients;
|
||||||
|
import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 认证授权中心
|
* 认证授权中心
|
||||||
|
|
@ -11,7 +12,7 @@ import com.securitycontrol.common.security.annotation.EnableRyFeignClients;
|
||||||
* @author czc
|
* @author czc
|
||||||
*/
|
*/
|
||||||
@EnableRyFeignClients
|
@EnableRyFeignClients
|
||||||
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class })
|
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class,MongoAutoConfiguration.class })
|
||||||
public class VscAuthApplication
|
public class VscAuthApplication
|
||||||
{
|
{
|
||||||
public static void main(String[] args)
|
public static void main(String[] args)
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@
|
||||||
left join sys_build sb on sb.org_id=tjp.org_id
|
left join sys_build sb on sb.org_id=tjp.org_id
|
||||||
<where>
|
<where>
|
||||||
<if test="projectName!=null and projectName!=''">
|
<if test="projectName!=null and projectName!=''">
|
||||||
AND pro_name like('%',#{projectName},'%')
|
AND pro_name like concat('%',#{projectName},'%')
|
||||||
</if>
|
</if>
|
||||||
</where>
|
</where>
|
||||||
</select>
|
</select>
|
||||||
|
|
|
||||||
|
|
@ -308,7 +308,7 @@ public class HumanServiceImpl implements HumanService {
|
||||||
public AjaxResult delBind(ParamDto dto) {
|
public AjaxResult delBind(ParamDto dto) {
|
||||||
try{
|
try{
|
||||||
if (StringHelper.isEmpty(dto.getUserId())) {
|
if (StringHelper.isEmpty(dto.getUserId())) {
|
||||||
AjaxResult.error("人员不能为空");
|
return AjaxResult.error("人员不能为空");
|
||||||
}
|
}
|
||||||
int num= mapper.delBind(dto);
|
int num= mapper.delBind(dto);
|
||||||
if(num>SystemGlobal.MIN_NUM){
|
if(num>SystemGlobal.MIN_NUM){
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
<mapper namespace="com.securitycontrol.background.mapper.IDeviceOfBdMapper">
|
<mapper namespace="com.securitycontrol.background.mapper.IDeviceOfBdMapper">
|
||||||
<!--新增/修改边带-->
|
<!--新增/修改边带-->
|
||||||
<insert id="addOrUpdateDeviceBd">
|
<insert id="addOrUpdateDeviceBd">
|
||||||
当月
|
<if test="type == 1">
|
||||||
INSERT INTO tb_pro_bd
|
INSERT INTO tb_pro_bd
|
||||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
<if test="id != null and id != ''">id,</if>
|
<if test="id != null and id != ''">id,</if>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue