Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hg-smart
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
platform
hg-smart
Commits
aee1cf10
Commit
aee1cf10
authored
Jul 01, 2024
by
YG8429
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
费用归集,费用归集详情添加字段
parent
eeacca29
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
45 additions
and
27 deletions
+45
-27
HGCW051.java
src/main/java/com/baosight/hggp/hg/cw/domain/HGCW051.java
+0
-0
HGCW052.java
src/main/java/com/baosight/hggp/hg/cw/domain/HGCW052.java
+0
-0
HGCW051.xml
src/main/java/com/baosight/hggp/hg/cw/sql/HGCW051.xml
+45
-27
HGCW052.xml
src/main/java/com/baosight/hggp/hg/cw/sql/HGCW052.xml
+0
-0
No files found.
src/main/java/com/baosight/hggp/hg/cw/domain/HGCW051.java
View file @
aee1cf10
This diff is collapsed.
Click to expand it.
src/main/java/com/baosight/hggp/hg/cw/domain/HGCW052.java
View file @
aee1cf10
This diff is collapsed.
Click to expand it.
src/main/java/com/baosight/hggp/hg/cw/sql/HGCW051.xml
View file @
aee1cf10
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sqlMap PUBLIC "-//ibatis.apache.org//DTD SQL Map 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-2.dtd">
<!-- table information
Generate time : 2024-0
6-26 15:09:24
Generate time : 2024-0
7-01 10:27:27
Version : 1.0
schema : hggp
tableName : HGCW051
...
...
@@ -16,7 +16,9 @@
COMPANY_NAME VARCHAR,
YEAR VARCHAR NOT NULL,
MONTH VARCHAR NOT NULL,
AMOUNT DECIMAL
AMOUNT DECIMAL,
ACCOUNT VARCHAR,
DEP_CODE VARCHAR
-->
<sqlMap
namespace=
"HGCW051"
>
...
...
@@ -60,6 +62,12 @@
<isNotEmpty
prepend=
" AND "
property=
"amount"
>
AMOUNT = #amount#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"account"
>
ACCOUNT = #account#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"depCode"
>
DEP_CODE = #depCode#
</isNotEmpty>
</sql>
<select
id=
"query"
parameterClass=
"java.util.HashMap"
...
...
@@ -129,24 +137,32 @@
<isNotEmpty prepend=" AND " property="amount">
AMOUNT = #amount#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="account">
ACCOUNT = #account#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="depCode">
DEP_CODE = #depCode#
</isNotEmpty>
-->
<insert
id=
"insert"
>
INSERT INTO ${hggpSchema}.HGCW051 (ID,
CREATED_BY,
<!-- 记录创建者 -->
CREATED_NAME,
<!-- 记录创建�称 -->
CREATED_TIME,
<!-- 记录创建时间 -->
UPDATED_BY,
<!-- 记录修改者 -->
UPDATED_NAME,
<!-- 记录修改�称 -->
UPDATED_TIME,
<!-- 记录修改时间 -->
DELETE_FLAG,
<!-- 0-æœªåˆ é™¤ï¼Œ1-å·²åˆ é™¤ -->
COMPANY_CODE,
<!-- å…¬å�¸ç¼–ç � -->
COMPANY_NAME,
<!-- 公��称 -->
YEAR,
<!-- 年份 -->
MONTH,
<!-- 月份 -->
AMOUNT
<!-- 费用金� -->
CREATED_BY,
<!-- 记录创建者 -->
CREATED_NAME,
<!-- 记录创建名称 -->
CREATED_TIME,
<!-- 记录创建时间 -->
UPDATED_BY,
<!-- 记录修改者 -->
UPDATED_NAME,
<!-- 记录修改名称 -->
UPDATED_TIME,
<!-- 记录修改时间 -->
DELETE_FLAG,
<!-- 0-未删除,1-已删除 -->
COMPANY_CODE,
<!-- 公司编码 -->
COMPANY_NAME,
<!-- 公司名称 -->
YEAR,
<!-- 年份 -->
MONTH,
<!-- 月份 -->
AMOUNT,
<!-- 费用金额 -->
ACCOUNT,
<!-- 企业编码 -->
DEP_CODE
<!-- 部门编码 -->
)
VALUES (#id#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #deleteFlag#, #companyCode#, #companyName#, #year#, #month#, #amount#)
VALUES (#id#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #deleteFlag#, #companyCode#, #companyName#, #year#, #month#, #amount#
, #account#, #depCode#
)
</insert>
<delete
id=
"delete"
>
...
...
@@ -157,18 +173,20 @@
<update
id=
"update"
>
UPDATE ${hggpSchema}.HGCW051
SET
CREATED_BY = #createdBy#,
<!-- 记录创建者 -->
CREATED_NAME = #createdName#,
<!-- 记录创建�称 -->
CREATED_TIME = #createdTime#,
<!-- 记录创建时间 -->
UPDATED_BY = #updatedBy#,
<!-- 记录修改者 -->
UPDATED_NAME = #updatedName#,
<!-- 记录修改�称 -->
UPDATED_TIME = #updatedTime#,
<!-- 记录修改时间 -->
DELETE_FLAG = #deleteFlag#,
<!-- 0-æœªåˆ é™¤ï¼Œ1-å·²åˆ é™¤ -->
COMPANY_CODE = #companyCode#,
<!-- å…¬å�¸ç¼–ç � -->
COMPANY_NAME = #companyName#,
<!-- 公��称 -->
YEAR = #year#,
<!-- 年份 -->
MONTH = #month#,
<!-- 月份 -->
AMOUNT = #amount#
<!-- 费用金� -->
CREATED_BY = #createdBy#,
<!-- 记录创建者 -->
CREATED_NAME = #createdName#,
<!-- 记录创建名称 -->
CREATED_TIME = #createdTime#,
<!-- 记录创建时间 -->
UPDATED_BY = #updatedBy#,
<!-- 记录修改者 -->
UPDATED_NAME = #updatedName#,
<!-- 记录修改名称 -->
UPDATED_TIME = #updatedTime#,
<!-- 记录修改时间 -->
DELETE_FLAG = #deleteFlag#,
<!-- 0-未删除,1-已删除 -->
COMPANY_CODE = #companyCode#,
<!-- 公司编码 -->
COMPANY_NAME = #companyName#,
<!-- 公司名称 -->
YEAR = #year#,
<!-- 年份 -->
MONTH = #month#,
<!-- 月份 -->
AMOUNT = #amount#,
<!-- 费用金额 -->
ACCOUNT = #account#,
<!-- 企业编码 -->
DEP_CODE = #depCode#
<!-- 部门编码 -->
WHERE
ID = #id#
</update>
...
...
src/main/java/com/baosight/hggp/hg/cw/sql/HGCW052.xml
View file @
aee1cf10
This diff is collapsed.
Click to expand it.
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