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
d4921a11
Commit
d4921a11
authored
Oct 15, 2024
by
宋祥
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.fixBug:新增项目时,设计来源未写入问题。
parent
78f0632f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
37 deletions
+31
-37
HGSC001.xml
src/main/java/com/baosight/hggp/hg/sc/sql/HGSC001.xml
+31
-31
HGWD001.xml
src/main/java/com/baosight/hggp/hg/wd/sql/HGWD001.xml
+0
-6
No files found.
src/main/java/com/baosight/hggp/hg/sc/sql/HGSC001.xml
View file @
d4921a11
...
...
@@ -184,13 +184,14 @@
updated_by,
<!-- 更新人 -->
updated_name,
<!-- 修改人名称 -->
updated_time,
<!-- 更新时间 -->
contract_no
<!-- 合同号 -->
contract_no,
<!-- 合同号 -->
project_source
)
VALUES (#id#, #companyCode#, #companyName#, #depCode#, #depName#, #subcontractCode#, #subcontractName#,
#genralContractCode#, #genralContractName#, #partyPmName#, #partyPmHpone#, #contractName#, #contractWorkTxt#,
#projCode#, #projName#, #projType#, #projStatus#, #approvalStatus#, #permissStartDate#, #startDate#, #endDate#,
#accountCode#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#,
#contractNo#)
#contractNo#
, #projectSource#
)
<selectKey
resultClass=
"long"
keyProperty=
"id"
>
SELECT MAX(ID) AS "id" FROM ${hggpSchema}.HGSC001
</selectKey>
...
...
@@ -207,35 +208,34 @@
</delete>
<update
id=
"update"
>
UPDATE ${hggpSchema}.HGSC001
SET
company_code = #companyCode#,
<!-- 公司编码 -->
company_name = #companyName#,
<!-- 公司名称 -->
dep_code = #depCode#,
<!-- 部门编码 -->
dep_name = #depName#,
<!-- 部门名称 -->
subcontract_code = #subcontractCode#,
<!-- 分包商编码 -->
subcontract_name = #subcontractName#,
<!-- 分包商名称 -->
genral_contract_code = #genralContractCode#,
<!-- 总包商编码 -->
genral_contract_name = #genralContractName#,
<!-- 总包商名称 -->
party_pm_name = #partyPmName#,
<!-- 甲方项目经理名称 -->
party_pm_hpone = #partyPmHpone#,
<!-- 甲方项目经理联系电话 -->
contract_name = #contractName#,
<!-- 合同名称 -->
contract_work_txt = #contractWorkTxt#,
<!-- 合同工作量 -->
proj_code = #projCode#,
<!-- 项目编码 -->
proj_name = #projName#,
<!-- 项目名称 -->
proj_type = #projType#,
<!-- 项目性质 -->
proj_status = #projStatus#,
<!-- 项目状态 0:在建;1:完工 -->
approval_status = #approvalStatus#,
<!-- 审批状态 0:待审;1:审核中;2:已审 -->
permiss_start_date = #permissStartDate#,
<!-- 准许开工日期 -->
start_date = #startDate#,
<!-- 开工日期 -->
end_date = #endDate#,
<!-- 完工日期 -->
updated_by = #updatedBy#,
<!-- 更新人 -->
updated_name = #updatedName#,
<!-- 修改人名称 -->
updated_time = #updatedTime#
<!-- 更新时间 -->
WHERE
id = #id#
</update>
UPDATE ${hggpSchema}.HGSC001
SET
company_code = #companyCode#,
<!-- 公司编码 -->
company_name = #companyName#,
<!-- 公司名称 -->
dep_code = #depCode#,
<!-- 部门编码 -->
dep_name = #depName#,
<!-- 部门名称 -->
subcontract_code = #subcontractCode#,
<!-- 分包商编码 -->
subcontract_name = #subcontractName#,
<!-- 分包商名称 -->
genral_contract_code = #genralContractCode#,
<!-- 总包商编码 -->
genral_contract_name = #genralContractName#,
<!-- 总包商名称 -->
party_pm_name = #partyPmName#,
<!-- 甲方项目经理名称 -->
party_pm_hpone = #partyPmHpone#,
<!-- 甲方项目经理联系电话 -->
contract_name = #contractName#,
<!-- 合同名称 -->
contract_work_txt = #contractWorkTxt#,
<!-- 合同工作量 -->
proj_code = #projCode#,
<!-- 项目编码 -->
proj_name = #projName#,
<!-- 项目名称 -->
proj_type = #projType#,
<!-- 项目性质 -->
project_source = #projectSource#,
proj_status = #projStatus#,
<!-- 项目状态 0:在建;1:完工 -->
approval_status = #approvalStatus#,
<!-- 审批状态 0:待审;1:审核中;2:已审 -->
permiss_start_date = #permissStartDate#,
<!-- 准许开工日期 -->
start_date = #startDate#,
<!-- 开工日期 -->
end_date = #endDate#,
<!-- 完工日期 -->
updated_by = #updatedBy#,
<!-- 更新人 -->
updated_name = #updatedName#,
<!-- 修改人名称 -->
updated_time = #updatedTime#
<!-- 更新时间 -->
WHERE id = #id#
</update>
<update
id=
"batch_complete"
>
UPDATE ${hggpSchema}.HGSC001
...
...
src/main/java/com/baosight/hggp/hg/wd/sql/HGWD001.xml
View file @
d4921a11
...
...
@@ -36,12 +36,6 @@
<isNotEmpty
prepend=
" AND "
property=
"id"
>
ID = #id#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"accountCode"
>
ACCOUNT_CODE = #accountCode#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"depCode"
>
DEP_CODE = #depCode#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"createdBy"
>
CREATED_BY = #createdBy#
</isNotEmpty>
...
...
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