Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions base/src/main/resources/mappers/AppExtensionMapper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,7 @@
<include refid="AppExtensionSetColumns"/>
</set>
<where>
<if test="id != null">
AND id = #{id}
</if>
id = #{id}
<if test="tenantId != null">
AND tenant_id = #{tenantId}
</if>
Expand Down
4 changes: 1 addition & 3 deletions base/src/main/resources/mappers/AppMapper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -328,9 +328,7 @@
<include refid="Base_Column_List"/>
FROM t_app
<where>
<if test="id != null">
AND id = #{id}
</if>
id = #{id}
</where>
</select>

Expand Down
4 changes: 1 addition & 3 deletions base/src/main/resources/mappers/BlockGroupMapper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -324,9 +324,7 @@
</otherwise>
</choose>
<where>
<if test="id != null">
AND bg.id = #{id}
</if>
bg.id = #{id}
<if test="groupCreatedBy != null">
AND bg.created_by = #{groupCreatedBy}
</if>
Expand Down
4 changes: 1 addition & 3 deletions base/src/main/resources/mappers/BlockHistoryMapper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -249,9 +249,7 @@
<include refid="Base_Column_List"/>
FROM t_block_history
<where>
<if test="id != null">
AND id = #{id}
</if>
id = #{id}
</where>
</select>

Expand Down
4 changes: 1 addition & 3 deletions base/src/main/resources/mappers/BlockMapper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -243,9 +243,7 @@
<include refid="Base_Column_List"/>
FROM t_block
<where>
<if test="id != null">
AND id = #{id}
</if>
id = #{id}
</where>
</select>

Expand Down
4 changes: 1 addition & 3 deletions base/src/main/resources/mappers/ComponentLibraryMapper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -337,9 +337,7 @@
FROM t_component_library CL
LEFT JOIN t_component C ON CL.id = C.library_id
<where>
<if test="id != null">
AND CL.id = #{id}
</if>
CL.id = #{id}
</where>
</select>

Expand Down
4 changes: 1 addition & 3 deletions base/src/main/resources/mappers/ComponentMapper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -257,9 +257,7 @@
<include refid="Base_Column_List"/>
FROM t_component
<where>
<if test="id != null">
AND id = #{id}
</if>
id = #{id}
</where>
</select>

Expand Down
4 changes: 1 addition & 3 deletions base/src/main/resources/mappers/DatasourceMapper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,7 @@
<include refid="Base_Column_List"/>
FROM t_datasource
<where>
<if test="id != null">
AND id = #{id}
</if>
id = #{id}
</where>
</select>

Expand Down
4 changes: 1 addition & 3 deletions base/src/main/resources/mappers/I18nEntryMapper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,7 @@
FROM t_i18n_entry E
LEFT JOIN t_i18n_lang L ON E.lang_id = L.id
<where>
<if test="id != null">
AND E.id = #{id}
</if>
E.id = #{id}
</where>
</select>

Expand Down
4 changes: 1 addition & 3 deletions base/src/main/resources/mappers/MaterialMapper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -229,9 +229,7 @@
<include refid="Base_Column_List"/>
FROM t_material
<where>
<if test="id != null">
AND id = #{id}
</if>
id = #{id}
</where>
</select>

Expand Down
4 changes: 1 addition & 3 deletions base/src/main/resources/mappers/PageMapper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -242,9 +242,7 @@
FROM t_page P
LEFT JOIN t_user U ON P.occupier_by = U.id
<where>
<if test="id != null">
AND P.id = #{id}
</if>
P.id = #{id}
</where>
</select>
<!-- 根据appId查询表t_page数据 -->
Expand Down
5 changes: 1 addition & 4 deletions base/src/main/resources/mappers/PageTemplateMapper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,7 @@
<include refid="Base_Column_List"/>
FROM t_page_template
<where>
<if test="id != null">
AND id = #{id}
</if>

id = #{id}
</where>
</select>

Expand Down
4 changes: 1 addition & 3 deletions base/src/main/resources/mappers/PlatformMapper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -222,9 +222,7 @@
<include refid="Base_Column_List"/>
FROM t_platform
<where>
<if test="id != null">
AND id = #{id}
</if>
id = #{id}
</where>
</select>

Expand Down