Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-zx-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
项目统一框架
一体化_户用光伏项目代码
amos-boot-zx-biz
Commits
ee730eb3
Commit
ee730eb3
authored
Dec 12, 2022
by
wanglong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除 无用代码
parent
58b6f65c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
129 deletions
+0
-129
TzUgpPathDao.java
...yeejoin/amos/boot/module/ugp/api/mapper/TzUgpPathDao.java
+0
-19
TzUgpPathDao.xml
...module-ugp-api/src/main/resources/mapper/TzUgpPathDao.xml
+0
-110
No files found.
amos-boot-system-ugp/amos-boot-module-ugp-api/src/main/java/com/yeejoin/amos/boot/module/ugp/api/mapper/TzUgpPathDao.java
deleted
100644 → 0
View file @
58b6f65c
package
com
.
yeejoin
.
amos
.
boot
.
module
.
ugp
.
api
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.yeejoin.amos.boot.module.ugp.api.entity.TzUgpPath
;
import
com.yeejoin.amos.boot.module.ugp.api.entity.Verify
;
import
org.apache.ibatis.annotations.Mapper
;
/**
* 页面路径表(TzUgpPath)表数据库访问层
*
* @author makejava
* @since 2022-12-09 18:52:40
*/
@Mapper
public
interface
TzUgpPathDao
extends
BaseMapper
<
TzUgpPath
>
{
}
\ No newline at end of file
amos-boot-system-ugp/amos-boot-module-ugp-api/src/main/resources/mapper/TzUgpPathDao.xml
deleted
100644 → 0
View file @
58b6f65c
<?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=
".dao.TzUgpPathDao"
>
<resultMap
id=
"BaseResultMap"
type=
"com.yeejoin.amos.boot.module.ugp.api.entity.TzUgpPath.java"
>
<!--@Table tz_ugp_path-->
<result
property=
"sequenceNbr"
column=
"sequence_nbr"
jdbcType=
"INTEGER"
/>
<result
property=
"name"
column=
"name"
jdbcType=
"VARCHAR"
/>
<result
property=
"url"
column=
"url"
jdbcType=
"VARCHAR"
/>
<result
property=
"status"
column=
"status"
jdbcType=
"INTEGER"
/>
<result
property=
"recUserId"
column=
"rec_user_id"
jdbcType=
"INTEGER"
/>
<result
property=
"recDate"
column=
"rec_date"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"isDelete"
column=
"is_delete"
jdbcType=
"INTEGER"
/>
<result
property=
"recUserName"
column=
"rec_user_name"
jdbcType=
"VARCHAR"
/>
</resultMap>
<!--查询单个-->
<select
id=
"queryById"
resultMap=
"BaseResultMap"
>
select
sequence_nbr, name, url, status, rec_user_id, rec_date, is_delete, rec_user_name
from ugp_amos_ugp_biz.tz_ugp_path
where = #{}
</select>
<!--查询指定行数据-->
<select
id=
"queryAllByLimit"
resultMap=
"BaseResultMap"
>
select
sequence_nbr, name, url, status, rec_user_id, rec_date, is_delete, rec_user_name
from ugp_amos_ugp_biz.tz_ugp_path
limit #{offset}, #{limit}
</select>
<!--通过实体作为筛选条件查询-->
<select
id=
"queryAll"
resultMap=
"BaseResultMap"
>
select
sequence_nbr, name, url, status, rec_user_id, rec_date, is_delete, rec_user_name
from ugp_amos_ugp_biz.tz_ugp_path
<where>
<if
test=
"sequenceNbr != null"
>
and sequence_nbr = #{sequenceNbr}
</if>
<if
test=
"name != null and name != ''"
>
and name = #{name}
</if>
<if
test=
"url != null and url != ''"
>
and url = #{url}
</if>
<if
test=
"status != null"
>
and status = #{status}
</if>
<if
test=
"recUserId != null"
>
and rec_user_id = #{recUserId}
</if>
<if
test=
"recDate != null"
>
and rec_date = #{recDate}
</if>
<if
test=
"isDelete != null"
>
and is_delete = #{isDelete}
</if>
<if
test=
"recUserName != null and recUserName != ''"
>
and rec_user_name = #{recUserName}
</if>
</where>
</select>
<!--新增所有列-->
<insert
id=
"insert"
keyProperty=
""
useGeneratedKeys=
"true"
>
insert into ugp_amos_ugp_biz.tz_ugp_path(sequence_nbr, name, url, status, rec_user_id, rec_date, is_delete, rec_user_name)
values (#{sequenceNbr}, #{name}, #{url}, #{status}, #{recUserId}, #{recDate}, #{isDelete}, #{recUserName})
</insert>
<!--通过主键修改数据-->
<update
id=
"update"
>
update ugp_amos_ugp_biz.tz_ugp_path
<set>
<if
test=
"sequenceNbr != null"
>
sequence_nbr = #{sequenceNbr},
</if>
<if
test=
"name != null and name != ''"
>
name = #{name},
</if>
<if
test=
"url != null and url != ''"
>
url = #{url},
</if>
<if
test=
"status != null"
>
status = #{status},
</if>
<if
test=
"recUserId != null"
>
rec_user_id = #{recUserId},
</if>
<if
test=
"recDate != null"
>
rec_date = #{recDate},
</if>
<if
test=
"isDelete != null"
>
is_delete = #{isDelete},
</if>
<if
test=
"recUserName != null and recUserName != ''"
>
rec_user_name = #{recUserName},
</if>
</set>
where = #{}
</update>
<!--通过主键删除-->
<delete
id=
"deleteById"
>
delete from ugp_amos_ugp_biz.tz_ugp_path where = #{}
</delete>
</mapper>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment