Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
baa-pay-server
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
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
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
贺超
baa-pay-server
Commits
cc4eca1e
Commit
cc4eca1e
authored
Sep 13, 2021
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
创建项目
parent
aae49d8f
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
0 additions
and
58 deletions
+0
-58
application-dev.properties
...tice/src/main/resources/config/application-dev.properties
+0
-0
application-pre.properties
...tice/src/main/resources/config/application-pre.properties
+0
-0
application-pro.properties
...tice/src/main/resources/config/application-pro.properties
+0
-0
application-test.properties
...ice/src/main/resources/config/application-test.properties
+0
-0
DepartmentsMapper.xml
...y-notice/src/main/resources/mapping/DepartmentsMapper.xml
+0
-58
No files found.
baa-pay-notice/src/main/resources/application-dev.properties
→
baa-pay-notice/src/main/resources/
config/
application-dev.properties
View file @
cc4eca1e
File moved
baa-pay-notice/src/main/resources/application-pre.properties
→
baa-pay-notice/src/main/resources/
config/
application-pre.properties
View file @
cc4eca1e
File moved
baa-pay-notice/src/main/resources/application-pro.properties
→
baa-pay-notice/src/main/resources/
config/
application-pro.properties
View file @
cc4eca1e
File moved
baa-pay-notice/src/main/resources/application-test.properties
→
baa-pay-notice/src/main/resources/
config/
application-test.properties
View file @
cc4eca1e
File moved
baa-pay-notice/src/main/resources/mapping/DepartmentsMapper.xml
deleted
100644 → 0
View file @
aae49d8f
<?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=
"cn.quant.baa.pay.mybatis.mapper.DepartmentsMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"cn.quant.baa.pay.mybatis.entity.DepartmentsEntity"
>
<id
column=
"dept_no"
jdbcType=
"CHAR"
property=
"deptNo"
/>
<result
column=
"dept_name"
jdbcType=
"VARCHAR"
property=
"deptName"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
dept_no, dept_name
</sql>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.String"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from departments
where dept_no = #{deptNo,jdbcType=CHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.String"
>
delete from departments
where dept_no = #{deptNo,jdbcType=CHAR}
</delete>
<insert
id=
"insert"
parameterType=
"cn.quant.baa.pay.mybatis.entity.DepartmentsEntity"
>
insert into departments (dept_no, dept_name)
values (#{deptNo,jdbcType=CHAR}, #{deptName,jdbcType=VARCHAR})
</insert>
<insert
id=
"insertSelective"
parameterType=
"cn.quant.baa.pay.mybatis.entity.DepartmentsEntity"
>
insert into departments
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"deptNo != null"
>
dept_no,
</if>
<if
test=
"deptName != null"
>
dept_name,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"deptNo != null"
>
#{deptNo,jdbcType=CHAR},
</if>
<if
test=
"deptName != null"
>
#{deptName,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"cn.quant.baa.pay.mybatis.entity.DepartmentsEntity"
>
update departments
<set>
<if
test=
"deptName != null"
>
dept_name = #{deptName,jdbcType=VARCHAR},
</if>
</set>
where dept_no = #{deptNo,jdbcType=CHAR}
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"cn.quant.baa.pay.mybatis.entity.DepartmentsEntity"
>
update departments
set dept_name = #{deptName,jdbcType=VARCHAR}
where dept_no = #{deptNo,jdbcType=CHAR}
</update>
</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