兼容+功能

This commit is contained in:
ran.shang
2026-01-05 16:35:46 +08:00
parent e99b717e48
commit ea6d25ca97
103 changed files with 1563 additions and 581 deletions

View File

@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8" ?>
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
@@ -9,7 +9,7 @@
xs_dict dict
inner join xs_dict_detail detail on dict.id = detail.dict_id
where
dict.deleted = 0 and detail.deleted = 0
dict.deleted = FALSE and detail.deleted = FALSE
<if test='param.dictName != null and param.dictName.trim() != ""'>
<bind name="dictNameLike" value="'%' + param.dictName + '%'" />
AND dict.dict_name like #{dictNameLike}

View File

@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8" ?>
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
@@ -7,7 +7,7 @@
<select id="list" resultType="com.senmesh.component.dict.dto.DictDTO">
SELECT * FROM xs_dict
<where>
deleted = 0
deleted = FALSE
<if test='param.dictId != null'>
AND id = #{param.dictId}
</if>