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 {
...
@@ -166,12 +166,12 @@ public class ServiceHPSC006 extends ServiceBase {
this
.
modify
(
hpsc006
);
this
.
modify
(
hpsc006
);
}
}
}
}
int
size
=
resultRows
.
size
();
// 更新主订单状态
//刷新
this
.
updateMainStatus
(
productionOrderNo
);
//inInfo = this.refreshHPSC006(inInfo, productionOrderNo);
//inInfo = this.refreshHPSC006(inInfo, productionOrderNo);
inInfo
=
this
.
queryDetail
(
inInfo
);
inInfo
=
this
.
queryDetail
(
inInfo
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setMsg
(
"操作成功!本次对["
+
size
+
"]条数据保存成功!"
);
inInfo
.
setMsg
(
"操作成功!本次对["
+
resultRows
.
size
()
+
"]条数据保存成功!"
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"保存失败"
);
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"保存失败"
);
}
}
...
@@ -184,6 +184,7 @@ public class ServiceHPSC006 extends ServiceBase {
...
@@ -184,6 +184,7 @@ public class ServiceHPSC006 extends ServiceBase {
public
void
add
(
HPSC006
hpsc006
)
{
public
void
add
(
HPSC006
hpsc006
)
{
DaoUtils
.
insert
(
"HPSC006.insert"
,
hpsc006
);
DaoUtils
.
insert
(
"HPSC006.insert"
,
hpsc006
);
}
}
/**
/**
* 修改操作.
* 修改操作.
*/
*/
...
...
src/main/java/com/baosight/hpjx/hp/sc/sql/HPSC006.xml
View file @
87972b63
...
@@ -243,41 +243,37 @@
...
@@ -243,41 +243,37 @@
<update
id=
"update"
>
<update
id=
"update"
>
UPDATE ${hpjxSchema}.T_HPSC006
UPDATE ${hpjxSchema}.T_HPSC006
SET
SET
COMPANY_CODE = #companyCode#,
<!-- 企业编码 预留 -->
PROJ_CODE = #projCode#,
<!-- 项目编码 -->
PROJ_CODE = #projCode#,
<!-- 项目编码 -->
PROJ_NAME = #projName#,
<!-- 项目名称 -->
PROJ_NAME = #projName#,
<!-- 项目名称 -->
INVENT_TYPE = #inventType#,
<!-- 物料类型 -->
PRODUCTION_ORDER_NO = #productionOrderNo#,
<!-- 生产订单号 -->
INVENT_CODE = #inventCode#,
<!-- 物料编码 -->
INVENT_TYPE = #inventType#,
<!-- 物料类型 -->
INVENT_NAME = #inventName#,
<!-- 物料名称 -->
INVENT_CODE = #inventCode#,
<!-- 物料编码 -->
INVENT_LENGTH = #inventLength#,
<!-- 物料-长 -->
INVENT_NAME = #inventName#,
<!-- 物料名称 -->
INVENT_WIDTH = #inventWidth#,
<!-- 物料-宽 -->
INVENT_LENGTH = #inventLength#,
<!-- 物料-长 -->
INVENT_THICK = #inventThick#,
<!-- 物料-厚 -->
INVENT_WIDTH = #inventWidth#,
<!-- 物料-宽 -->
INVENT_SPEC = #inventSpec#,
<!-- 物料规格 -->
INVENT_THICK = #inventThick#,
<!-- 物料-厚 -->
MATERIAL = #material#,
INVENT_SPEC = #inventSpec#,
<!-- 物料规格 -->
PLAN_COMPLETION_DATE = #planCompletionDate#,
<!-- 计划完成日期 -->
MATERIAL = #material#,
NUM = #num#,
<!-- 计划数量 -->
PLAN_COMPLETION_DATE = #planCompletionDate#,
<!-- 计划完成日期 -->
UNIT_WT = #unitWt#,
<!-- 计划单重 -->
NUM = #num#,
<!-- 计划数量 -->
TOTAL_WT = #totalWt#,
<!-- 计划重量 -->
UNIT_WT = #unitWt#,
<!-- 计划单重 -->
ACTUAL_COMPLETION_DATE = #actualCompletionDate#,
<!-- 实际完工日期 -->
TOTAL_WT = #totalWt#,
<!-- 计划重量 -->
ACTUAL_COMPLETION_NUM = #actualCompletionNum#,
<!-- 实际完工数量 -->
ACTUAL_COMPLETION_DATE = #actualCompletionDate#,
<!-- 实际完工日期 -->
ACTUAL_COMPLETION_TOTAL_WT = #actualCompletionTotalWt#,
ACTUAL_COMPLETION_NUM = #actualCompletionNum#,
<!-- 实际完工数量 -->
STATUS = #status#,
<!-- 状态 0-计划中,1-生产中,2-已完成 -->
ACTUAL_COMPLETION_TOTAL_WT = #actualCompletionTotalWt#,
ORG_NO = #orgNo#,
<!-- 生产组编码 -->
STATUS = #status#,
<!-- 状态 0-计划中,1-生产中,2-已完成 -->
ORG_NAME = #orgName#,
<!-- 生产组名称 -->
ORG_NO = #orgNo#,
<!-- 生产组编码 -->
FACTORY_CODE = #factoryCode#,
<!-- 厂区编码 -->
ORG_NAME = #orgName#,
<!-- 生产组名称 -->
FACTORY_NAME = #factoryName#,
<!-- 工厂 -->
FACTORY_CODE = #factoryCode#,
<!-- 厂区编码 -->
UPDATED_BY = #updatedBy#,
<!-- 更新人 -->
FACTORY_NAME = #factoryName#,
<!-- 工厂 -->
UPDATED_TIME = #updatedTime#,
<!-- 更新时间 -->
CREATED_BY = #createdBy#,
<!-- 创建人 -->
DEP_CODE = #depCode#,
<!-- 部门编码 -->
CREATED_TIME = #createdTime#,
<!-- 创建时间 -->
REMARK = #remark#,
<!-- 备注 -->
UPDATED_BY = #updatedBy#,
<!-- 更新人 -->
FILE_PATH1 = #filePath1#,
<!-- 文件地址1 -->
UPDATED_TIME = #updatedTime#,
<!-- 更新时间 -->
INVENT_RECORD_ID = #inventRecordId#,
<!-- 存货档案ID -->
DEP_CODE = #depCode#,
<!-- 部门编码 -->
DELIVERY_DATE = #deliveryDate#,
REMARK = #remark#,
<!-- 备注 -->
COMPLETE_STATUS = #completeStatus#
FILE_PATH1 = #filePath1#,
<!-- 文件地址1 -->
WHERE ID = #id#
INVENT_RECORD_ID = #inventRecordId#,
<!-- 存货档案ID -->
DELIVERY_DATE = #deliveryDate#
WHERE
ID = #id#
</update>
</update>
<update
id=
"updateAssign"
>
<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