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>
......
<?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:39 Generate time : 2024-07-01 10:27:33
Version : 1.0 Version : 1.0
schema : hggp schema : hggp
tableName : HGCW052 tableName : HGCW052
...@@ -22,7 +22,9 @@ ...@@ -22,7 +22,9 @@
COST_ITEM VARCHAR, COST_ITEM VARCHAR,
ITEM_NAME VARCHAR, ITEM_NAME VARCHAR,
ITEM_CODE VARCHAR, ITEM_CODE VARCHAR,
IS_SHARE VARCHAR IS_SHARE VARCHAR,
ACCOUNT VARCHAR,
DEP_CODE VARCHAR
--> -->
<sqlMap namespace="HGCW052"> <sqlMap namespace="HGCW052">
...@@ -84,32 +86,40 @@ ...@@ -84,32 +86,40 @@
<isNotEmpty prepend=" AND " property="isShare"> <isNotEmpty prepend=" AND " property="isShare">
IS_SHARE = #isShare# IS_SHARE = #isShare#
</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"
resultClass="com.baosight.hggp.hg.cw.domain.HGCW052"> resultClass="com.baosight.hggp.hg.cw.domain.HGCW052">
SELECT SELECT
ID as "id", ID as "id",
CREATED_BY as "createdBy", <!-- 记录创建者 --> CREATED_BY as "createdBy", <!-- 记录创建者 -->
CREATED_NAME as "createdName", <!-- 记录创建å��称 --> CREATED_NAME as "createdName", <!-- 记录创建名称 -->
CREATED_TIME as "createdTime", <!-- 记录创建时间 --> CREATED_TIME as "createdTime", <!-- 记录创建时间 -->
UPDATED_BY as "updatedBy", <!-- 记录修改者 --> UPDATED_BY as "updatedBy", <!-- 记录修改者 -->
UPDATED_NAME as "updatedName", <!-- 记录修改å��称 --> UPDATED_NAME as "updatedName", <!-- 记录修改名称 -->
UPDATED_TIME as "updatedTime", <!-- 记录修改时间 --> UPDATED_TIME as "updatedTime", <!-- 记录修改时间 -->
DELETE_FLAG as "deleteFlag", <!-- 0-未删除,1-已删除 --> DELETE_FLAG as "deleteFlag", <!-- 0-未删除,1-已删除 -->
COMPANY_CODE as "companyCode", <!-- å…¬å�¸ç¼–ç � --> COMPANY_CODE as "companyCode", <!-- 公司编码 -->
COMPANY_NAME as "companyName", <!-- å…¬å�¸å��称 --> COMPANY_NAME as "companyName", <!-- 公司名称 -->
YEAR as "year", <!-- 年份 --> YEAR as "year", <!-- 年份 -->
MONTH as "month", <!-- 月份 --> MONTH as "month", <!-- 月份 -->
AMOUNT as "amount", <!-- 费用金é¢� --> AMOUNT as "amount", <!-- 费用金额 -->
HGCW051_ID as "hgcw051Id", <!-- 主表ID --> HGCW051_ID as "hgcw051Id", <!-- 主表ID -->
COST_TYPE as "costType", <!-- 费用类型 --> COST_TYPE as "costType", <!-- 费用类型 -->
COST_ITEM as "costItem", <!-- 费用项 --> COST_ITEM as "costItem", <!-- 费用项 -->
ITEM_NAME as "itemName", <!-- 项目å��称 --> ITEM_NAME as "itemName", <!-- 项目名称 -->
ITEM_CODE as "itemCode", <!-- 项目编å�· --> ITEM_CODE as "itemCode", <!-- 项目编号 -->
IS_SHARE as "isShare" <!-- 是å�¦åˆ†æ‘Šè´¹ç”¨ --> IS_SHARE as "isShare", <!-- 是否分摊费用 -->
ACCOUNT as "account", <!-- 企业编码 -->
DEP_CODE as "depCode" <!-- 部门编码 -->
FROM ${hggpSchema}.HGCW052 WHERE 1=1 FROM ${hggpSchema}.HGCW052 WHERE 1=1
<include refid="condition"/> <include refid="condition" />
<dynamic prepend="ORDER BY"> <dynamic prepend="ORDER BY">
<isNotEmpty property="orderBy"> <isNotEmpty property="orderBy">
$orderBy$ $orderBy$
...@@ -140,7 +150,7 @@ ...@@ -140,7 +150,7 @@
<select id="count" resultClass="int"> <select id="count" resultClass="int">
SELECT COUNT(*) FROM ${hggpSchema}.HGCW052 WHERE 1=1 SELECT COUNT(*) FROM ${hggpSchema}.HGCW052 WHERE 1=1
<include refid="condition"/> <include refid="condition" />
</select> </select>
<!-- <!--
...@@ -201,61 +211,68 @@ ...@@ -201,61 +211,68 @@
<isNotEmpty prepend=" AND " property="isShare"> <isNotEmpty prepend=" AND " property="isShare">
IS_SHARE = #isShare# IS_SHARE = #isShare#
</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}.HGCW052 (ID, INSERT INTO ${hggpSchema}.HGCW052 (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, <!-- 费用金额 -->
HGCW051_ID, <!-- 主表ID --> HGCW051_ID, <!-- 主表ID -->
COST_TYPE, <!-- 费用类型 --> COST_TYPE, <!-- 费用类型 -->
COST_ITEM, <!-- 费用项 --> COST_ITEM, <!-- 费用项 -->
ITEM_NAME, <!-- 项目å��称 --> ITEM_NAME, <!-- 项目名称 -->
ITEM_CODE, <!-- 项目编å�· --> ITEM_CODE, <!-- 项目编号 -->
IS_SHARE <!-- 是å�¦åˆ†æ‘Šè´¹ç”¨ --> IS_SHARE, <!-- 是否分摊费用 -->
ACCOUNT, <!-- 企业编码 -->
DEP_CODE <!-- 部门编码 -->
) )
VALUES (#id#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, VALUES (#id#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #deleteFlag#, #companyCode#, #companyName#, #year#, #month#, #amount#, #hgcw051Id#, #costType#, #costItem#, #itemName#, #itemCode#, #isShare#, #account#, #depCode#)
#deleteFlag#, #companyCode#, #companyName#, #year#, #month#, #amount#, #hgcw051Id#, #costType#, #costItem#,
#itemName#, #itemCode#, #isShare#)
</insert> </insert>
<delete id="delete"> <delete id="delete">
DELETE DELETE FROM ${hggpSchema}.HGCW052 WHERE
FROM ${hggpSchema}.HGCW052 ID = #id#
WHERE ID = #id#
</delete> </delete>
<update id="update"> <update id="update">
UPDATE ${hggpSchema}.HGCW052 UPDATE ${hggpSchema}.HGCW052
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#, <!-- 费用金额 -->
HGCW051_ID = #hgcw051Id#, <!-- 主表ID --> HGCW051_ID = #hgcw051Id#, <!-- 主表ID -->
COST_TYPE = #costType#, <!-- 费用类型 --> COST_TYPE = #costType#, <!-- 费用类型 -->
COST_ITEM = #costItem#, <!-- 费用项 --> COST_ITEM = #costItem#, <!-- 费用项 -->
ITEM_NAME = #itemName#, <!-- 项目å��称 --> ITEM_NAME = #itemName#, <!-- 项目名称 -->
ITEM_CODE = #itemCode#, <!-- 项目编å�· --> ITEM_CODE = #itemCode#, <!-- 项目编号 -->
IS_SHARE = #isShare# <!-- 是å�¦åˆ†æ‘Šè´¹ç”¨ --> IS_SHARE = #isShare#, <!-- 是否分摊费用 -->
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