Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
refined-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
refined-platform
Commits
d16e8a8e
Commit
d16e8a8e
authored
Dec 08, 2023
by
王晓旭
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.scsmile.cn/zxf/refined-platform
parents
5e078e7e
23612d17
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
32 additions
and
31 deletions
+32
-31
refined-manager-ui/admin/src/assets/utils/ajax.js
refined-manager-ui/admin/src/assets/utils/ajax.js
+2
-2
refined-manager/pom.xml
refined-manager/pom.xml
+4
-3
refined-manager/src/main/java/com/mortals/xhx/module/appointment/web/AppointmentConstraintController.java
...dule/appointment/web/AppointmentConstraintController.java
+8
-8
refined-manager/src/main/java/com/mortals/xhx/module/care/web/CareConstraintController.java
...mortals/xhx/module/care/web/CareConstraintController.java
+8
-8
refined-manager/src/main/java/com/mortals/xhx/module/person/web/PersonController.java
...a/com/mortals/xhx/module/person/web/PersonController.java
+10
-10
No files found.
refined-manager-ui/admin/src/assets/utils/ajax.js
View file @
d16e8a8e
...
...
@@ -41,8 +41,8 @@ instance.interceptors.request.use(
if
(
config
.
url
.
startsWith
(
"
/
"
))
{
// 字符串以 / 开头
config
.
url
=
`http://112.19.80.237:11080
${
baseURL
}${
config
.
url
}
`
;
//
config.url = `http://${hostname}:${port}${baseURL}${config.url}`;
//
config.url = `http://112.19.80.237:11080${baseURL}${config.url}`;
config
.
url
=
`http://
${
hostname
}
:
${
port
}${
baseURL
}${
config
.
url
}
`
;
}
//config.url = `http://${hostname}:${port}${baseURL}/${config.url}`;
...
...
refined-manager/pom.xml
View file @
d16e8a8e
...
...
@@ -17,9 +17,7 @@
<profiles>
<profile>
<id>
develop
</id>
<activation>
<activeByDefault>
true
</activeByDefault>
</activation>
<properties>
<profiles.active>
develop
</profiles.active>
<profiles.platform.type>
standalone
</profiles.platform.type>
...
...
@@ -46,6 +44,9 @@
</profile>
<profile>
<id>
test
</id>
<activation>
<activeByDefault>
true
</activeByDefault>
</activation>
<properties>
<profiles.active>
test
</profiles.active>
<profiles.platform.type>
cloud
</profiles.platform.type>
...
...
refined-manager/src/main/java/com/mortals/xhx/module/appointment/web/AppointmentConstraintController.java
View file @
d16e8a8e
...
...
@@ -69,14 +69,14 @@ public class AppointmentConstraintController extends BaseCRUDJsonBodyMappingCont
this
.
addDict
(
model
,
"idCardType"
,
IdCardTypeEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"constraint"
,
paramService
.
getParamBySecondOrganize
(
"AppointmentConstraint"
,
"constraint"
));
//
Map<String, String> personCollect = personService.find(new PersonQuery()).stream()
//
.collect(Collectors.toMap(x -> x.getId().toString(), y -> y.getName(), (o, n) -> n));
//
this.addDict(model, "personId", personCollect);
//
//
Map<String, String> collect = userService.find(new UserQuery(), getContext()).stream()
//
.collect(Collectors.toMap(x -> x.getId().toString(), y -> y.getRealName(), (o, n) -> n));
//
this.addDict(model, "operator", collect);
//
this.addDict(model, "createUserId", collect);
Map
<
String
,
String
>
personCollect
=
personService
.
find
(
new
PersonQuery
()).
stream
()
.
collect
(
Collectors
.
toMap
(
x
->
x
.
getId
().
toString
(),
y
->
y
.
getName
(),
(
o
,
n
)
->
n
));
this
.
addDict
(
model
,
"personId"
,
personCollect
);
Map
<
String
,
String
>
collect
=
userService
.
find
(
new
UserQuery
(),
getContext
()).
stream
()
.
collect
(
Collectors
.
toMap
(
x
->
x
.
getId
().
toString
(),
y
->
y
.
getRealName
(),
(
o
,
n
)
->
n
));
this
.
addDict
(
model
,
"operator"
,
collect
);
this
.
addDict
(
model
,
"createUserId"
,
collect
);
super
.
init
(
model
,
context
);
}
...
...
refined-manager/src/main/java/com/mortals/xhx/module/care/web/CareConstraintController.java
View file @
d16e8a8e
...
...
@@ -58,14 +58,14 @@ public class CareConstraintController extends BaseCRUDJsonBodyMappingController<
this
.
addDict
(
model
,
"track"
,
paramService
.
getParamBySecondOrganize
(
"CareConstraint"
,
"track"
));
this
.
addDict
(
model
,
"idCardType"
,
IdCardTypeEnum
.
getEnumMap
());
//
Map<String, String> personCollect = personService.find(new PersonQuery()).stream()
//
.collect(Collectors.toMap(x -> x.getId().toString(), y -> y.getName(), (o, n) -> n));
//
this.addDict(model, "personId", personCollect);
//
//
Map<String, String> collect = userService.find(new UserQuery(), getContext()).stream()
//
.collect(Collectors.toMap(x -> x.getId().toString(), y -> y.getRealName(), (o, n) -> n));
//
this.addDict(model, "operator", collect);
//
this.addDict(model, "createUserId", collect);
Map
<
String
,
String
>
personCollect
=
personService
.
find
(
new
PersonQuery
()).
stream
()
.
collect
(
Collectors
.
toMap
(
x
->
x
.
getId
().
toString
(),
y
->
y
.
getName
(),
(
o
,
n
)
->
n
));
this
.
addDict
(
model
,
"personId"
,
personCollect
);
Map
<
String
,
String
>
collect
=
userService
.
find
(
new
UserQuery
(),
getContext
()).
stream
()
.
collect
(
Collectors
.
toMap
(
x
->
x
.
getId
().
toString
(),
y
->
y
.
getRealName
(),
(
o
,
n
)
->
n
));
this
.
addDict
(
model
,
"operator"
,
collect
);
this
.
addDict
(
model
,
"createUserId"
,
collect
);
super
.
init
(
model
,
context
);
...
...
refined-manager/src/main/java/com/mortals/xhx/module/person/web/PersonController.java
View file @
d16e8a8e
...
...
@@ -56,14 +56,14 @@ public class PersonController extends BaseCRUDJsonBodyMappingController<PersonSe
super
.
init
(
model
,
context
);
}
@Override
public
void
doExportBefore
(
Context
context
,
PersonEntity
query
,
List
<
String
>
properties
)
throws
AppException
{
properties
.
add
(
"性别"
);
// super.doExportBefore(context, query, properties);
}
@Override
public
void
doImportExcelAfter
(
MultipartFile
file
,
List
<
PersonEntity
>
list
,
Context
context
)
throws
AppException
{
String
filePath
=
uploadService
.
saveFileUpload
(
file
,
"file/fileupload"
,
null
);
}
//
@Override
//
public void doExportBefore(Context context, PersonEntity query, List<String> properties) throws AppException {
//
properties.add("性别");
//
// super.doExportBefore(context, query, properties);
//
}
//
//
@Override
//
public void doImportExcelAfter(MultipartFile file, List<PersonEntity> list, Context context) throws AppException {
//
String filePath = uploadService.saveFileUpload(file, "file/fileupload",null);
//
}
}
\ No newline at end of file
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