Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hp-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
hp-smart
Commits
87972b63
Commit
87972b63
authored
Sep 25, 2024
by
宋祥
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.售后服务,报工数字支持小数位,下料单增加完成状态
parent
bba725d5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
38 deletions
+35
-38
ServiceHPSC006.java
.../java/com/baosight/hpjx/hp/sc/service/ServiceHPSC006.java
+4
-3
HPSC006.xml
src/main/java/com/baosight/hpjx/hp/sc/sql/HPSC006.xml
+31
-35
No files found.
src/main/java/com/baosight/hpjx/hp/sc/service/ServiceHPSC006.java
View file @
87972b63
...
...
@@ -166,12 +166,12 @@ public class ServiceHPSC006 extends ServiceBase {
this
.
modify
(
hpsc006
);
}
}
int
size
=
resultRows
.
size
();
//刷新
// 更新主订单状态
this
.
updateMainStatus
(
productionOrderNo
);
//inInfo = this.refreshHPSC006(inInfo, productionOrderNo);
inInfo
=
this
.
queryDetail
(
inInfo
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setMsg
(
"操作成功!本次对["
+
size
+
"]条数据保存成功!"
);
inInfo
.
setMsg
(
"操作成功!本次对["
+
resultRows
.
size
()
+
"]条数据保存成功!"
);
}
catch
(
Exception
e
)
{
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"保存失败"
);
}
...
...
@@ -184,6 +184,7 @@ public class ServiceHPSC006 extends ServiceBase {
public
void
add
(
HPSC006
hpsc006
)
{
DaoUtils
.
insert
(
"HPSC006.insert"
,
hpsc006
);
}
/**
* 修改操作.
*/
...
...
src/main/java/com/baosight/hpjx/hp/sc/sql/HPSC006.xml
View file @
87972b63
...
...
@@ -243,41 +243,37 @@
<update
id=
"update"
>
UPDATE ${hpjxSchema}.T_HPSC006
SET
COMPANY_CODE = #companyCode#,
<!-- 企业编码 预留 -->
PROJ_CODE = #projCode#,
<!-- 项目编码 -->
PROJ_NAME = #projName#,
<!-- 项目名称 -->
PRODUCTION_ORDER_NO = #productionOrderNo#,
<!-- 生产订单号 -->
INVENT_TYPE = #inventType#,
<!-- 物料类型 -->
INVENT_CODE = #inventCode#,
<!-- 物料编码 -->
INVENT_NAME = #inventName#,
<!-- 物料名称 -->
INVENT_LENGTH = #inventLength#,
<!-- 物料-长 -->
INVENT_WIDTH = #inventWidth#,
<!-- 物料-宽 -->
INVENT_THICK = #inventThick#,
<!-- 物料-厚 -->
INVENT_SPEC = #inventSpec#,
<!-- 物料规格 -->
MATERIAL = #material#,
PLAN_COMPLETION_DATE = #planCompletionDate#,
<!-- 计划完成日期 -->
NUM = #num#,
<!-- 计划数量 -->
UNIT_WT = #unitWt#,
<!-- 计划单重 -->
TOTAL_WT = #totalWt#,
<!-- 计划重量 -->
ACTUAL_COMPLETION_DATE = #actualCompletionDate#,
<!-- 实际完工日期 -->
ACTUAL_COMPLETION_NUM = #actualCompletionNum#,
<!-- 实际完工数量 -->
ACTUAL_COMPLETION_TOTAL_WT = #actualCompletionTotalWt#,
STATUS = #status#,
<!-- 状态 0-计划中,1-生产中,2-已完成 -->
ORG_NO = #orgNo#,
<!-- 生产组编码 -->
ORG_NAME = #orgName#,
<!-- 生产组名称 -->
FACTORY_CODE = #factoryCode#,
<!-- 厂区编码 -->
FACTORY_NAME = #factoryName#,
<!-- 工厂 -->
CREATED_BY = #createdBy#,
<!-- 创建人 -->
CREATED_TIME = #createdTime#,
<!-- 创建时间 -->
UPDATED_BY = #updatedBy#,
<!-- 更新人 -->
UPDATED_TIME = #updatedTime#,
<!-- 更新时间 -->
DEP_CODE = #depCode#,
<!-- 部门编码 -->
REMARK = #remark#,
<!-- 备注 -->
FILE_PATH1 = #filePath1#,
<!-- 文件地址1 -->
INVENT_RECORD_ID = #inventRecordId#,
<!-- 存货档案ID -->
DELIVERY_DATE = #deliveryDate#
WHERE
ID = #id#
PROJ_CODE = #projCode#,
<!-- 项目编码 -->
PROJ_NAME = #projName#,
<!-- 项目名称 -->
INVENT_TYPE = #inventType#,
<!-- 物料类型 -->
INVENT_CODE = #inventCode#,
<!-- 物料编码 -->
INVENT_NAME = #inventName#,
<!-- 物料名称 -->
INVENT_LENGTH = #inventLength#,
<!-- 物料-长 -->
INVENT_WIDTH = #inventWidth#,
<!-- 物料-宽 -->
INVENT_THICK = #inventThick#,
<!-- 物料-厚 -->
INVENT_SPEC = #inventSpec#,
<!-- 物料规格 -->
MATERIAL = #material#,
PLAN_COMPLETION_DATE = #planCompletionDate#,
<!-- 计划完成日期 -->
NUM = #num#,
<!-- 计划数量 -->
UNIT_WT = #unitWt#,
<!-- 计划单重 -->
TOTAL_WT = #totalWt#,
<!-- 计划重量 -->
ACTUAL_COMPLETION_DATE = #actualCompletionDate#,
<!-- 实际完工日期 -->
ACTUAL_COMPLETION_NUM = #actualCompletionNum#,
<!-- 实际完工数量 -->
ACTUAL_COMPLETION_TOTAL_WT = #actualCompletionTotalWt#,
STATUS = #status#,
<!-- 状态 0-计划中,1-生产中,2-已完成 -->
ORG_NO = #orgNo#,
<!-- 生产组编码 -->
ORG_NAME = #orgName#,
<!-- 生产组名称 -->
FACTORY_CODE = #factoryCode#,
<!-- 厂区编码 -->
FACTORY_NAME = #factoryName#,
<!-- 工厂 -->
UPDATED_BY = #updatedBy#,
<!-- 更新人 -->
UPDATED_TIME = #updatedTime#,
<!-- 更新时间 -->
DEP_CODE = #depCode#,
<!-- 部门编码 -->
REMARK = #remark#,
<!-- 备注 -->
FILE_PATH1 = #filePath1#,
<!-- 文件地址1 -->
INVENT_RECORD_ID = #inventRecordId#,
<!-- 存货档案ID -->
DELIVERY_DATE = #deliveryDate#,
COMPLETE_STATUS = #completeStatus#
WHERE ID = #id#
</update>
<update
id=
"updateAssign"
>
...
...
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