Commit 00fbb386 by 江和松

Merge remote-tracking branch 'origin/dev' into dev

parents 855a002b aee1cf10
<?xml version="1.0" encoding="UTF-8"?> <?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 <!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-06-26 15:09:24 Generate time : 2024-07-01 10:27:27
Version : 1.0 Version : 1.0
schema : hggp schema : hggp
tableName : HGCW051 tableName : HGCW051
...@@ -16,7 +16,9 @@ ...@@ -16,7 +16,9 @@
COMPANY_NAME VARCHAR, COMPANY_NAME VARCHAR,
YEAR VARCHAR NOT NULL, YEAR VARCHAR NOT NULL,
MONTH VARCHAR NOT NULL, MONTH VARCHAR NOT NULL,
AMOUNT DECIMAL AMOUNT DECIMAL,
ACCOUNT VARCHAR,
DEP_CODE VARCHAR
--> -->
<sqlMap namespace="HGCW051"> <sqlMap namespace="HGCW051">
...@@ -60,6 +62,12 @@ ...@@ -60,6 +62,12 @@
<isNotEmpty prepend=" AND " property="amount"> <isNotEmpty prepend=" AND " property="amount">
AMOUNT = #amount# AMOUNT = #amount#
</isNotEmpty> </isNotEmpty>
<isNotEmpty prepend=" AND " property="account">
ACCOUNT = #account#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="depCode">
DEP_CODE = #depCode#
</isNotEmpty>
</sql> </sql>
<select id="query" parameterClass="java.util.HashMap" <select id="query" parameterClass="java.util.HashMap"
...@@ -129,24 +137,32 @@ ...@@ -129,24 +137,32 @@
<isNotEmpty prepend=" AND " property="amount"> <isNotEmpty prepend=" AND " property="amount">
AMOUNT = #amount# AMOUNT = #amount#
</isNotEmpty> </isNotEmpty>
<isNotEmpty prepend=" AND " property="account">
ACCOUNT = #account#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="depCode">
DEP_CODE = #depCode#
</isNotEmpty>
--> -->
<insert id="insert"> <insert id="insert">
INSERT INTO ${hggpSchema}.HGCW051 (ID, INSERT INTO ${hggpSchema}.HGCW051 (ID,
CREATED_BY, <!-- 记录创建者 --> CREATED_BY, <!-- 记录创建者 -->
CREATED_NAME, <!-- 记录创建å��称 --> CREATED_NAME, <!-- 记录创建名称 -->
CREATED_TIME, <!-- 记录创建时间 --> CREATED_TIME, <!-- 记录创建时间 -->
UPDATED_BY, <!-- 记录修改者 --> UPDATED_BY, <!-- 记录修改者 -->
UPDATED_NAME, <!-- 记录修改å��称 --> UPDATED_NAME, <!-- 记录修改名称 -->
UPDATED_TIME, <!-- 记录修改时间 --> UPDATED_TIME, <!-- 记录修改时间 -->
DELETE_FLAG, <!-- 0-未删除,1-已删除 --> DELETE_FLAG, <!-- 0-未删除,1-已删除 -->
COMPANY_CODE, <!-- å…¬å�¸ç¼–ç � --> COMPANY_CODE, <!-- 公司编码 -->
COMPANY_NAME, <!-- å…¬å�¸å��称 --> COMPANY_NAME, <!-- 公司名称 -->
YEAR, <!-- 年份 --> YEAR, <!-- 年份 -->
MONTH, <!-- 月份 --> MONTH, <!-- 月份 -->
AMOUNT <!-- 费用金é¢� --> 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> </insert>
<delete id="delete"> <delete id="delete">
...@@ -157,18 +173,20 @@ ...@@ -157,18 +173,20 @@
<update id="update"> <update id="update">
UPDATE ${hggpSchema}.HGCW051 UPDATE ${hggpSchema}.HGCW051
SET SET
CREATED_BY = #createdBy#, <!-- 记录创建者 --> CREATED_BY = #createdBy#, <!-- 记录创建者 -->
CREATED_NAME = #createdName#, <!-- 记录创建å��称 --> CREATED_NAME = #createdName#, <!-- 记录创建名称 -->
CREATED_TIME = #createdTime#, <!-- 记录创建时间 --> CREATED_TIME = #createdTime#, <!-- 记录创建时间 -->
UPDATED_BY = #updatedBy#, <!-- 记录修改者 --> UPDATED_BY = #updatedBy#, <!-- 记录修改者 -->
UPDATED_NAME = #updatedName#, <!-- 记录修改å��称 --> UPDATED_NAME = #updatedName#, <!-- 记录修改名称 -->
UPDATED_TIME = #updatedTime#, <!-- 记录修改时间 --> UPDATED_TIME = #updatedTime#, <!-- 记录修改时间 -->
DELETE_FLAG = #deleteFlag#, <!-- 0-未删除,1-已删除 --> DELETE_FLAG = #deleteFlag#, <!-- 0-未删除,1-已删除 -->
COMPANY_CODE = #companyCode#, <!-- å…¬å�¸ç¼–ç � --> COMPANY_CODE = #companyCode#, <!-- 公司编码 -->
COMPANY_NAME = #companyName#, <!-- å…¬å�¸å��称 --> COMPANY_NAME = #companyName#, <!-- 公司名称 -->
YEAR = #year#, <!-- 年份 --> YEAR = #year#, <!-- 年份 -->
MONTH = #month#, <!-- 月份 --> MONTH = #month#, <!-- 月份 -->
AMOUNT = #amount# <!-- 费用金é¢� --> AMOUNT = #amount#, <!-- 费用金额 -->
ACCOUNT = #account#, <!-- 企业编码 -->
DEP_CODE = #depCode# <!-- 部门编码 -->
WHERE WHERE
ID = #id# ID = #id#
</update> </update>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment