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
5bcdf727
Commit
5bcdf727
authored
Apr 24, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://git.pseer.com/platform/hp-smart
into dev-ly
parents
4dea03c6
48ce3220
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
24 additions
and
39 deletions
+24
-39
HPKC013.java
src/main/java/com/baosight/hpjx/hp/kc/domain/HPKC013.java
+5
-5
ServiceHPKC004.java
.../java/com/baosight/hpjx/hp/kc/service/ServiceHPKC004.java
+1
-1
ServiceHPKC013.java
.../java/com/baosight/hpjx/hp/kc/service/ServiceHPKC013.java
+3
-3
ServiceHPMT001.java
.../java/com/baosight/hpjx/hp/mt/service/ServiceHPMT001.java
+0
-12
ServiceHPPZ015A.java
...java/com/baosight/hpjx/hp/pz/service/ServiceHPPZ015A.java
+1
-1
ServiceHPSC006.java
.../java/com/baosight/hpjx/hp/sc/service/ServiceHPSC006.java
+0
-1
HPXS007.xml
src/main/java/com/baosight/hpjx/hp/xs/sql/HPXS007.xml
+8
-11
HPKC004.js
src/main/webapp/HP/KC/HPKC004.js
+2
-1
HPKC013.js
src/main/webapp/HP/KC/HPKC013.js
+2
-2
HPKC013.jsp
src/main/webapp/HP/KC/HPKC013.jsp
+1
-1
HPXS007.jsp
src/main/webapp/HP/XS/HPXS007.jsp
+1
-1
No files found.
src/main/java/com/baosight/hpjx/hp/kc/domain/HPKC013.java
View file @
5bcdf727
...
...
@@ -96,11 +96,11 @@ public class HPKC013 extends DaoEPBase {
public
static
final
String
COL_FACTORY_CODE
=
"FACTORY_CODE"
;
/* 厂区编码*/
public
static
final
String
COL_FACTORY_NAME
=
"FACTORY_NAME"
;
/* 工厂*/
public
static
final
String
QUERY
=
"HPKC0
0
13.query"
;
public
static
final
String
COUNT
=
"HPKC0
0
13.count"
;
public
static
final
String
INSERT
=
"HPKC0
0
13.insert"
;
public
static
final
String
UPDATE
=
"HPKC0
0
13.update"
;
public
static
final
String
DELETE
=
"HPKC0
0
13.delete"
;
public
static
final
String
QUERY
=
"HPKC013.query"
;
public
static
final
String
COUNT
=
"HPKC013.count"
;
public
static
final
String
INSERT
=
"HPKC013.insert"
;
public
static
final
String
UPDATE
=
"HPKC013.update"
;
public
static
final
String
DELETE
=
"HPKC013.delete"
;
private
Long
id
;
/* ID*/
private
String
companyCode
=
" "
;
/* 企业编码 预留*/
...
...
src/main/java/com/baosight/hpjx/hp/kc/service/ServiceHPKC004.java
View file @
5bcdf727
...
...
@@ -169,7 +169,7 @@ public class ServiceHPKC004 extends ServiceBase {
}
inInfo
=
this
.
query
(
inInfo
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setMsg
(
"操作成功!本次对["
+
resultRows
.
size
()
+
"]条数据
删除
成功!"
);
inInfo
.
setMsg
(
"操作成功!本次对["
+
resultRows
.
size
()
+
"]条数据
申请退货
成功!"
);
}
catch
(
Exception
e
)
{
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"删除失败"
);
}
...
...
src/main/java/com/baosight/hpjx/hp/kc/service/ServiceHPKC013.java
View file @
5bcdf727
...
...
@@ -92,12 +92,12 @@ public class ServiceHPKC013 extends ServiceBase {
HPKC010
hpkc010
=
null
;
HPKC013
fKc013
=
new
HPKC013
();
fKc013
.
fromMap
(
resultRows
.
get
(
i
));
HPKC013
dbKc013
=
mapKc013
.
get
(
fKc013
.
getReturnNo
());
if
(!
fKc013
.
getSubInventCode
().
equals
(
" "
))
{
hpkc011
=
HPKCTools
.
HpKc011
.
listById
(
f
Kc013
.
getKcId
());
hpkc011
=
HPKCTools
.
HpKc011
.
listById
(
db
Kc013
.
getKcId
());
}
else
{
hpkc010
=
HPKCTools
.
HpKc010
.
listById
(
f
Kc013
.
getKcId
());
hpkc010
=
HPKCTools
.
HpKc010
.
listById
(
db
Kc013
.
getKcId
());
}
HPKC013
dbKc013
=
mapKc013
.
get
(
fKc013
.
getReturnNo
());
if
(
dbKc013
.
getReturnStatus
().
compareTo
(
ReturnStatusEnum
.
RETURNING
.
getCode
())==
0
)
{
dbKc013
.
setReturnStatus
(
ReturnStatusEnum
.
RETURNED
.
getCode
());
DaoUtils
.
update
(
HPKC013
.
UPDATE
,
dbKc013
);
...
...
src/main/java/com/baosight/hpjx/hp/mt/service/ServiceHPMT001.java
View file @
5bcdf727
package
com
.
baosight
.
hpjx
.
hp
.
mt
.
service
;
import
cn.hutool.core.bean.BeanUtil
;
import
cn.hutool.core.util.StrUtil
;
import
com.baosight.hpjx.core.constant.CommonConstant
;
import
com.baosight.hpjx.core.dao.DaoUtils
;
import
com.baosight.hpjx.core.security.UserSessionUtils
;
import
com.baosight.hpjx.hp.constant.HPConstant
;
import
com.baosight.hpjx.hp.constant.HPSqlConstant
;
import
com.baosight.hpjx.hp.zl.domain.HPZL001
;
import
com.baosight.hpjx.util.*
;
import
com.baosight.iplat4j.core.ei.EiBlock
;
import
com.baosight.iplat4j.core.ei.EiConstant
;
import
com.baosight.iplat4j.core.ei.EiInfo
;
import
com.baosight.iplat4j.core.service.impl.ServiceBase
;
import
com.baosight.iplat4j.core.web.threadlocal.UserSession
;
import
com.baosight.iplat4j.ed.util.SequenceGenerator
;
import
org.apache.commons.collections.MapUtils
;
import
java.math.BigDecimal
;
import
java.text.ParseException
;
import
java.text.SimpleDateFormat
;
import
java.util.*
;
...
...
src/main/java/com/baosight/hpjx/hp/pz/service/ServiceHPPZ015A.java
View file @
5bcdf727
package
com
.
baosight
.
hpjx
.
hp
.
pz
.
service
;
import
c
n.hutool.core.bean
.BeanUtil
;
import
c
om.baosight.bpm.util
.BeanUtil
;
import
com.baosight.hpjx.aspect.annotation.OperationLogAnnotation
;
import
com.baosight.hpjx.common.DdynamicEnum
;
import
com.baosight.hpjx.core.constant.CommonConstant
;
...
...
src/main/java/com/baosight/hpjx/hp/sc/service/ServiceHPSC006.java
View file @
5bcdf727
package
com
.
baosight
.
hpjx
.
hp
.
sc
.
service
;
import
cn.hutool.core.bean.BeanUtil
;
import
com.baosight.hpjx.aspect.annotation.OperationLogAnnotation
;
import
com.baosight.hpjx.common.DdynamicEnum
;
import
com.baosight.hpjx.common.HPConstants
;
...
...
src/main/java/com/baosight/hpjx/hp/xs/sql/HPXS007.xml
View file @
5bcdf727
...
...
@@ -31,20 +31,17 @@
</sql>
<sql
id=
"condition"
>
<isNotEmpty
prepend=
" AND "
property=
"repDate"
>
REP_DATE = #repDate#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"repOrderNo"
>
REP_ORDER_NO LIKE CONCAT('%', #repOrderNo#, '%')
<isNotEmpty
prepend=
" AND "
property=
"folDate"
>
FOL_DATE = #folDate#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"
repCustomId
"
>
REP_CUSTOM_ID = #repCustomId#
<isNotEmpty
prepend=
" AND "
property=
"
delOrderNo
"
>
DEL_ORDER_NO LIKE CONCAT('%', #delOrderNo#, '%')
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"
repUserId
"
>
REP_USER_ID = #repUserId
#
<isNotEmpty
prepend=
" AND "
property=
"
folType
"
>
FOL_TYPE = #folType
#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"
rep
Status"
>
REP_STATUS = #rep
Status#
<isNotEmpty
prepend=
" AND "
property=
"
fol
Status"
>
FOL_STATUS = #fol
Status#
</isNotEmpty>
</sql>
...
...
src/main/webapp/HP/KC/HPKC004.js
View file @
5bcdf727
...
...
@@ -139,9 +139,10 @@ function returnApply(){
}
});
if
(
flag
)
{
JSUtils
.
confirm
(
"确定对勾选中的["
+
rows
.
length
+
"]条数据做
\"
退货
\"
操作? "
,
{
JSUtils
.
confirm
(
"确定对勾选中的["
+
rows
.
length
+
"]条数据做
\"
申请
退货
\"
操作? "
,
{
ok
:
function
()
{
JSUtils
.
submitGridsData
(
"result"
,
"HPKC004"
,
"returnApply"
,
true
);
query
();
}
});
}
...
...
src/main/webapp/HP/KC/HPKC013.js
View file @
5bcdf727
...
...
@@ -10,7 +10,7 @@ $(function () {
if
(
returnStatus
)
{
if
(
returnStatus
==
0
)
{
template
+=
'<a style="cursor: pointer;display: inline-flex;justify-content: center;" '
+
'onclick="check(
'
+
item
.
returnNo
+
',1)" >确认收货</a>'
;
'onclick="check(
\'
'
+
item
.
returnNo
+
'
\
'
,1)" >确认收货</a>'
;
}
}
...
...
@@ -55,7 +55,7 @@ let query = function () {
function
check
(
returnNo
,
auditStatus
)
{
const
inEiInfo
=
new
EiInfo
();
inEiInfo
.
set
(
"result-0-returnNo"
,
returnNo
);
inEiInfo
.
set
(
"result-0-returnStatus"
,
return
Status
);
inEiInfo
.
set
(
"result-0-returnStatus"
,
audit
Status
);
EiCommunicator
.
send
(
'HPKC013'
,
'comfirmReturn'
,
inEiInfo
,
{
onSuccess
(
response
)
{
message
(
"提交成功,已生确认收货"
);
...
...
src/main/webapp/HP/KC/HPKC013.jsp
View file @
5bcdf727
...
...
@@ -64,7 +64,7 @@
<EF:EFColumn
ename=
"weight"
cname=
"总重(T)"
enable=
"false"
width=
"100"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFComboColumn
ename=
"returnStatus"
cname=
"状态"
width=
"80"
align=
"center"
>
<EF:EFCodeOption
codeName=
"hpjx.hpjx.returnStatus"
/>
</EF:EFComboColumn
</EF:EFComboColumn
>
<EF:EFColumn
ename=
"remark"
cname=
"备注"
enable=
"false"
width=
"100"
align=
"center"
/>
<EF:EFColumn
ename=
"projCode"
cname=
"项目号"
enable=
"false"
width=
"140"
align=
"center"
hidden=
"true"
/>
<EF:EFColumn
ename=
"prodNo"
cname=
"生产订单号"
enable=
"false"
width=
"140"
align=
"center"
hidden=
"true"
/>
...
...
src/main/webapp/HP/XS/HPXS007.jsp
View file @
5bcdf727
...
...
@@ -18,7 +18,7 @@
<EF:EFDatePicker cname="回访日期" ename="folDate" blockId="inqu_status" row="0" colWidth="3"
format="yyyy-MM-dd" readonly="true"/>
<%-- <EF:EFInput cname="发货单号" ename="inqu_status-0-folOrderNo" colWidth="3"/>--%>
<EF:EFSelect cname="发货单号" ename="inqu_status-0-
fo
lOrderNo" colWidth="3" filter="contains" defultValue="">
<EF:EFSelect cname="发货单号" ename="inqu_status-0-
de
lOrderNo" colWidth="3" filter="contains" defultValue="">
<EF:EFOption label="全部" value=""/>
<EF:EFOptions blockId="sale_no_block_id" textField="textField" valueField="valueField"/>
</EF:EFSelect>
...
...
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