Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
T
topsun-bpm
Project
Project
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
鲁鑫
topsun-bpm
Commits
e92f6bf1
Commit
e92f6bf1
authored
Dec 17, 2024
by
1650842865
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
人员信息新增是否跟单员字段;是传“X”,否传“”
parent
ebd672c9
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
39 additions
and
2 deletions
+39
-2
PersonDetail.jsp
.../src/main/webapp/system/opm/organization/PersonDetail.jsp
+5
-2
OrgSyncApplicationImpl.java
...psun/syncOrg/application/impl/OrgSyncApplicationImpl.java
+6
-0
MdClientSapVo.java
...m/huigou/topsun/syncOrg/vo/SapPersonVo/MdClientSapVo.java
+6
-0
SapPersonVo.java
...com/huigou/topsun/syncOrg/vo/SapPersonVo/SapPersonVo.java
+6
-0
Person.java
...java/com/huigou/uasp/bmp/opm/domain/model/org/Person.java
+14
-0
syncOrg.xml
topsun/src/main/resources/config/topsun/base/syncOrg.xml
+2
-0
No files found.
huigou-xt/src/main/webapp/system/opm/organization/PersonDetail.jsp
View file @
e92f6bf1
...
@@ -31,8 +31,8 @@
...
@@ -31,8 +31,8 @@
<x:selectC
name=
"isSapPerson"
required=
"true"
label=
"SAP员工"
dictionary=
"yesorno"
labelCol=
"2"
fieldCol=
"4"
/>
<x:selectC
name=
"isSapPerson"
required=
"true"
label=
"SAP员工"
dictionary=
"yesorno"
labelCol=
"2"
fieldCol=
"4"
/>
</div>
</div>
<div
class=
"hg-form-row"
id=
"sapMes2"
>
<div
class=
"hg-form-row"
id=
"sapMes2"
>
<x:selectC
name=
"isMerchandiser"
required=
"false"
label=
"是否跟单员"
dictionary=
"yesorno"
labelCol=
"2"
fieldCol=
"4"
/>
<x:selectC
name=
"langu"
label=
"语言"
labelCol=
"2"
fieldCol=
"4"
dictionary=
"langu"
/>
<x:selectC
name=
"langu"
label=
"语言"
labelCol=
"2"
fieldCol=
"4"
dictionary=
"langu"
/>
<x:selectC
dictionary=
"country"
name=
"country"
label=
"国家"
labelCol=
"2"
fieldCol=
"4"
/>
</div>
</div>
</div>
</div>
<div
class=
"col-md-4"
>
<div
class=
"col-md-4"
>
...
@@ -47,9 +47,12 @@
...
@@ -47,9 +47,12 @@
<div
id=
"sapMes"
hidden=
"hidden"
>
<div
id=
"sapMes"
hidden=
"hidden"
>
<div
class=
"hg-form-row"
>
<div
class=
"hg-form-row"
>
<div
class=
"col-md-8"
>
<div
class=
"col-md-8"
>
<x:selectC
dictionary=
"country"
name=
"country"
label=
"国家"
labelCol=
"2"
fieldCol=
"4"
/>
<x:inputC
name=
"regionName"
label=
"地区"
labelCol=
"2"
fieldCol=
"4"
maxlength=
"16"
wrapper=
"select"
/>
<x:inputC
name=
"regionName"
label=
"地区"
labelCol=
"2"
fieldCol=
"4"
maxlength=
"16"
wrapper=
"select"
/>
<x:hidden
name=
"region"
/>
<x:hidden
name=
"region"
/>
<x:selectC
dictionary=
"country"
name=
"bankCountry"
label=
"银行所属国家"
labelCol=
"2"
fieldCol=
"4"
/>
</div>
<div
class=
"col-md-4"
>
<x:selectC
dictionary=
"country"
name=
"bankCountry"
label=
"银行所属国家"
labelCol=
"4"
fieldCol=
"8"
/>
</div>
</div>
</div>
</div>
<div
class=
"hg-form-row"
>
<div
class=
"hg-form-row"
>
...
...
topsun/src/main/java/com/huigou/topsun/syncOrg/application/impl/OrgSyncApplicationImpl.java
View file @
e92f6bf1
...
@@ -167,6 +167,12 @@ public class OrgSyncApplicationImpl extends BaseApplication implements OrgSyncAp
...
@@ -167,6 +167,12 @@ public class OrgSyncApplicationImpl extends BaseApplication implements OrgSyncAp
}
else
if
(
"1"
.
equals
(
sapPersonVo
.
getSex
())){
}
else
if
(
"1"
.
equals
(
sapPersonVo
.
getSex
())){
mdClientSapVo
.
setTitle
(
"0001"
);
//女
mdClientSapVo
.
setTitle
(
"0001"
);
//女
}
}
//是否跟单员
if
(
"1"
.
equals
(
sapPersonVo
.
getIsMerchandiser
())){
mdClientSapVo
.
setZgendan
(
"X"
);
}
else
{
mdClientSapVo
.
setZgendan
(
""
);
}
mdClientSapVo
.
setTelNumber
(
sapPersonVo
.
getOfficePhone
());
//办公电话
mdClientSapVo
.
setTelNumber
(
sapPersonVo
.
getOfficePhone
());
//办公电话
mdClientSapVo
.
setMobNumber
(
sapPersonVo
.
getMobilePhone
());
//移动电话
mdClientSapVo
.
setMobNumber
(
sapPersonVo
.
getMobilePhone
());
//移动电话
mdClientSapVo
.
setPostCode1
(
sapPersonVo
.
getZip
());
//邮编
mdClientSapVo
.
setPostCode1
(
sapPersonVo
.
getZip
());
//邮编
...
...
topsun/src/main/java/com/huigou/topsun/syncOrg/vo/SapPersonVo/MdClientSapVo.java
View file @
e92f6bf1
...
@@ -274,6 +274,12 @@ public class MdClientSapVo {
...
@@ -274,6 +274,12 @@ public class MdClientSapVo {
@JsonProperty
(
"LIFNR"
)
@JsonProperty
(
"LIFNR"
)
private
String
lifnr
;
private
String
lifnr
;
/**
* 是否跟单员
*/
@JsonProperty
(
"ZGENDAN"
)
private
String
zgendan
;
/**
/**
* 客户品牌联系人列表
* 客户品牌联系人列表
*/
*/
...
...
topsun/src/main/java/com/huigou/topsun/syncOrg/vo/SapPersonVo/SapPersonVo.java
View file @
e92f6bf1
...
@@ -130,4 +130,10 @@ public class SapPersonVo implements Serializable {
...
@@ -130,4 +130,10 @@ public class SapPersonVo implements Serializable {
*/
*/
@JsonProperty
(
"KOSTL"
)
@JsonProperty
(
"KOSTL"
)
private
String
kostl
;
private
String
kostl
;
/**
* 是否跟单员
*/
@JsonProperty
(
"IS_MERCHANDISER"
)
private
String
isMerchandiser
;
}
}
topsun/src/main/java/com/huigou/uasp/bmp/opm/domain/model/org/Person.java
View file @
e92f6bf1
...
@@ -249,6 +249,12 @@ public class Person extends BaseInfoWithTenantAbstractEntity {
...
@@ -249,6 +249,12 @@ public class Person extends BaseInfoWithTenantAbstractEntity {
@Column
(
name
=
"COMPANY_CODE"
)
@Column
(
name
=
"COMPANY_CODE"
)
private
String
companyCode
;
private
String
companyCode
;
/**
* 是否跟单员
*/
@Column
(
name
=
"is_merchandiser"
)
private
String
isMerchandiser
;
/**
/**
* SAP返回消息状态
* SAP返回消息状态
*/
*/
...
@@ -261,6 +267,14 @@ public class Person extends BaseInfoWithTenantAbstractEntity {
...
@@ -261,6 +267,14 @@ public class Person extends BaseInfoWithTenantAbstractEntity {
@Column
(
name
=
"MESSAGE"
)
@Column
(
name
=
"MESSAGE"
)
private
String
message
;
private
String
message
;
public
String
getIsMerchandiser
()
{
return
isMerchandiser
;
}
public
void
setIsMerchandiser
(
String
isMerchandiser
)
{
this
.
isMerchandiser
=
isMerchandiser
;
}
public
String
getType
()
{
public
String
getType
()
{
return
type
;
return
type
;
}
}
...
...
topsun/src/main/resources/config/topsun/base/syncOrg.xml
View file @
e92f6bf1
...
@@ -22,6 +22,7 @@
...
@@ -22,6 +22,7 @@
p.REGION,
p.REGION,
p.LANGU,
p.LANGU,
op.PROPERTY_VALUE AS KOSTL,
op.PROPERTY_VALUE AS KOSTL,
p.IS_OPERATOR,
CASE WHEN ( p.type = 'S' AND (p.STATUS = - 1 || p.STATUS = 0)) THEN 'D'
CASE WHEN ( p.type = 'S' AND (p.STATUS = - 1 || p.STATUS = 0)) THEN 'D'
WHEN ( p.type = 'S' AND p.STATUS = 1 ) THEN 'U'
WHEN ( p.type = 'S' AND p.STATUS = 1 ) THEN 'U'
WHEN ( P.type IS NULL || p.type = '' ) THEN 'I'
WHEN ( P.type IS NULL || p.type = '' ) THEN 'I'
...
@@ -53,6 +54,7 @@
...
@@ -53,6 +54,7 @@
p.REGION,
p.REGION,
p.LANGU,
p.LANGU,
op.PROPERTY_VALUE AS KOSTL,
op.PROPERTY_VALUE AS KOSTL,
p.IS_MERCHANDISER,
CASE WHEN ( p.type = 'S' AND (p.STATUS = - 1 || p.STATUS = 0) ) THEN 'D'
CASE WHEN ( p.type = 'S' AND (p.STATUS = - 1 || p.STATUS = 0) ) THEN 'D'
WHEN ( p.type = 'S' AND p.STATUS = 1 ) THEN 'U'
WHEN ( p.type = 'S' AND p.STATUS = 1 ) THEN 'U'
WHEN ( P.type IS NULL || p.type = '' ) THEN 'I'
WHEN ( P.type IS NULL || p.type = '' ) THEN 'I'
...
...
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