Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
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
haoban3.0
haoban-manage3.0
Commits
b3bd9174
Commit
b3bd9174
authored
Nov 13, 2023
by
王祖波
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
导入媒体增加factoryCode
parent
d18511b5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
ContentAIController.java
...an/manage/web/controller/content/ContentAIController.java
+2
-0
CmeImportMaterialQO.java
.../haoban/manage/web/qo/content/ai/CmeImportMaterialQO.java
+13
-0
No files found.
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/content/ContentAIController.java
View file @
b3bd9174
...
...
@@ -139,6 +139,8 @@ public class ContentAIController {
@ResponseBody
public
RestResponse
<
String
>
importMaterial
(
@RequestBody
CmeImportMaterialQO
materialQO
){
CmeImportMaterial
cmeImportMaterial
=
EntityUtil
.
changeEntityNew
(
CmeImportMaterial
.
class
,
materialQO
);
EnterpriseDTO
enterpriseDTO
=
enterpriseService
.
getEnterpriseById
(
materialQO
.
getEnterpriseId
());
cmeImportMaterial
.
setFactoryCode
(
enterpriseDTO
.
getFactoryCode
());
try
{
String
materialId
=
CmeUtil
.
importMaterial
(
cmeImportMaterial
);
return
RestResponse
.
successResult
(
materialId
);
...
...
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/qo/content/ai/CmeImportMaterialQO.java
View file @
b3bd9174
...
...
@@ -15,6 +15,11 @@ public class CmeImportMaterialQO {
*/
private
String
mediaKey
;
/**
* 企业id
*/
private
String
enterpriseId
;
public
String
getName
()
{
return
name
;
}
...
...
@@ -30,4 +35,12 @@ public class CmeImportMaterialQO {
public
void
setMediaKey
(
String
mediaKey
)
{
this
.
mediaKey
=
mediaKey
;
}
public
String
getEnterpriseId
()
{
return
enterpriseId
;
}
public
void
setEnterpriseId
(
String
enterpriseId
)
{
this
.
enterpriseId
=
enterpriseId
;
}
}
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