摘要:
sql语句中#{}和${}的区别 #{} #将传入的数据都当成一个字符串,会对自动传入的数据加一个双引号eg: order by #user_id# 如果传入的值是1,那么解析成sql时的值为order by “1” 如果传入的值是id,则解析成的sql为order by “id” ${} $将传入 阅读全文
posted @ 2022-11-11 15:35
爱笙灬
阅读(146)
评论(0)
推荐(0)
摘要:
<select id="getProjectEquipment" resultType="com.yeejoin.amos.boot.module.ugp.api.dto.ProjectResourceDto"> SELECT equipment.name , equipment.`code`, e 阅读全文
posted @ 2022-11-11 15:20
爱笙灬
阅读(337)
评论(0)
推荐(0)
摘要:
package com.yeejoin.amos.boot.module.ugp.api.Enum; import com.yeejoin.amos.boot.module.common.api.enums.OrgPersonEnum; import lombok.AllArgsConstructo 阅读全文
posted @ 2022-11-11 15:15
爱笙灬
阅读(43)
评论(0)
推荐(0)
摘要:
package com.yeejoin.amos.boot.module.ugp.api.Enum; import lombok.AllArgsConstructor; import lombok.Getter; import java.util.HashMap; import java.util. 阅读全文
posted @ 2022-11-11 15:14
爱笙灬
阅读(39)
评论(0)
推荐(0)
摘要:
错误描述:SQL语句中出现Error evaluating expression ‘category.id != null and category.id != ”’. Cause: org.apache.ibatis.ognl.OgnlException: source is null for g 阅读全文
posted @ 2022-11-11 15:10
爱笙灬
阅读(1276)
评论(0)
推荐(0)
摘要:
// 静态变量存储最大值 private static final AtomicInteger atomicNum = new AtomicInteger(); private static final Integer INIT_CODE_NUM = 0; public String getCode 阅读全文
posted @ 2022-11-11 15:01
爱笙灬
阅读(194)
评论(0)
推荐(0)

浙公网安备 33010602011771号