修改报错

This commit is contained in:
haozq 2024-04-02 09:19:16 +08:00
parent 9d4855b46f
commit cd1e038272
4 changed files with 5 additions and 4 deletions

View File

@ -4,6 +4,7 @@ import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
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
*/
@EnableRyFeignClients
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class })
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class,MongoAutoConfiguration.class })
public class VscAuthApplication
{
public static void main(String[] args)

View File

@ -28,7 +28,7 @@
left join sys_build sb on sb.org_id=tjp.org_id
<where>
<if test="projectName!=null and projectName!=''">
AND pro_name like('%',#{projectName},'%')
AND pro_name like concat('%',#{projectName},'%')
</if>
</where>
</select>

View File

@ -308,7 +308,7 @@ public class HumanServiceImpl implements HumanService {
public AjaxResult delBind(ParamDto dto) {
try{
if (StringHelper.isEmpty(dto.getUserId())) {
AjaxResult.error("人员不能为空");
return AjaxResult.error("人员不能为空");
}
int num= mapper.delBind(dto);
if(num>SystemGlobal.MIN_NUM){

View File

@ -3,7 +3,7 @@
<mapper namespace="com.securitycontrol.background.mapper.IDeviceOfBdMapper">
<!--新增/修改边带-->
<insert id="addOrUpdateDeviceBd">
当月
<if test="type == 1">
INSERT INTO tb_pro_bd
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="id != null and id != ''">id,</if>