13693261870
2025-07-02 7c7cb1855b7f18802f55a70fa14ed70cbdb11bab
se-system/src/main/resources/mapper/show/ModelMapper.xml
@@ -1,6 +1,6 @@
<?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">
<mapper namespace="com.lf.server.mapper.show.ModelMapper">
<mapper namespace="com.terra.system.mapper.show.ModelMapper">
    <select id="selectCount" resultType="java.lang.Integer">
        select count(*) from lf.sys_model
        <where>
@@ -10,7 +10,7 @@
        </where>
    </select>
    <select id="selectByPage" resultType="com.lf.server.entity.show.ModelEntity">
    <select id="selectByPage" resultType="com.terra.system.entity.show.ModelEntity">
        select * from lf.sys_model
        <where>
            <if test="layerid != null">
@@ -21,19 +21,19 @@
        limit #{limit} offset #{offset}
    </select>
    <select id="selectAll" resultType="com.lf.server.entity.show.ModelEntity">
    <select id="selectAll" resultType="com.terra.system.entity.show.ModelEntity">
        select * from lf.sys_model order by id desc;
    </select>
    <select id="selectById" resultType="com.lf.server.entity.show.ModelEntity">
    <select id="selectById" resultType="com.terra.system.entity.show.ModelEntity">
        select * from lf.sys_model where id = #{id}
    </select>
    <select id="selectModelByGuid" resultType="com.lf.server.entity.show.ModelEntity">
    <select id="selectModelByGuid" resultType="com.terra.system.entity.show.ModelEntity">
        select * from lf.sys_model where layerid = #{layerid} and modelid = #{modelid} limit 1;
    </select>
    <insert id="insert" parameterType="com.lf.server.entity.show.ModelEntity">
    <insert id="insert" parameterType="com.terra.system.entity.show.ModelEntity">
        insert into lf.sys_model
        (layerid,modelid,guid,name,type,info,url,icon,create_user,create_time,bak)
        values