Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
rs-cloud-platform
Project
Project
Details
Activity
Releases
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
周健威
rs-cloud-platform
Commits
cfdaee8a
Commit
cfdaee8a
authored
Dec 25, 2020
by
unset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加订单商品信息
parent
115ae565
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
1 deletion
+20
-1
IndustryApplicationInfoBiz.java
...s/platform/rs/website/biz/IndustryApplicationInfoBiz.java
+16
-0
IndustryApplicationTypeBiz.java
...s/platform/rs/website/biz/IndustryApplicationTypeBiz.java
+4
-1
No files found.
rs-website/rs-website-server/src/main/java/com/upyuns/platform/rs/website/biz/IndustryApplicationInfoBiz.java
View file @
cfdaee8a
...
@@ -123,6 +123,22 @@ public class IndustryApplicationInfoBiz extends BaseBiz<IndustryApplicationInfoM
...
@@ -123,6 +123,22 @@ public class IndustryApplicationInfoBiz extends BaseBiz<IndustryApplicationInfoM
return
mapper
.
selectByExample
(
example
);
return
mapper
.
selectByExample
(
example
);
}
}
/**
* 根据参数查询行业应用信息
* @param industryApplicationInfo
* @return
*/
public
List
<
IndustryApplicationInfo
>
getAllByParam
(
IndustryApplicationInfo
industryApplicationInfo
)
{
Example
example
=
new
Example
(
IndustryApplicationInfo
.
class
);
Example
.
Criteria
criteria
=
example
.
createCriteria
();
criteria
.
andEqualTo
(
"isDel"
,
0
).
andEqualTo
(
"status"
,
1
);
if
(
industryApplicationInfo
.
getFirstTypeId
()
!=
null
)
{
criteria
.
andEqualTo
(
"firstTypeId"
,
industryApplicationInfo
.
getFirstTypeId
()).
orEqualTo
(
"secondTypeId"
,
industryApplicationInfo
.
getFirstTypeId
());
}
return
mapper
.
selectByExample
(
example
);
}
/**
/**
* 获取所有行业应用
* 获取所有行业应用
* @return
* @return
...
...
rs-website/rs-website-server/src/main/java/com/upyuns/platform/rs/website/biz/IndustryApplicationTypeBiz.java
View file @
cfdaee8a
...
@@ -111,9 +111,10 @@ public class IndustryApplicationTypeBiz extends BaseBiz<IndustryApplicationTypeM
...
@@ -111,9 +111,10 @@ public class IndustryApplicationTypeBiz extends BaseBiz<IndustryApplicationTypeM
return
ObjectRestResponse
.
succ
(
industryTypeVo
);
return
ObjectRestResponse
.
succ
(
industryTypeVo
);
}
}
BeanUtil
.
copyProperties
(
industryApplicationType
,
industryTypeVo
,
CopyOptions
.
create
().
setIgnoreNullValue
(
true
).
setIgnoreError
(
true
));
BeanUtil
.
copyProperties
(
industryApplicationType
,
industryTypeVo
,
CopyOptions
.
create
().
setIgnoreNullValue
(
true
).
setIgnoreError
(
true
));
List
<
IndustryApplicationInfo
>
industryApplicationInfoList
=
industryApplicationInfoBiz
.
selectList
(
new
IndustryApplicationInfo
(){{
List
<
IndustryApplicationInfo
>
industryApplicationInfoList
=
industryApplicationInfoBiz
.
getAllByParam
(
new
IndustryApplicationInfo
(){{
setIsDel
(
0
);
setIsDel
(
0
);
setStatus
(
1
);
setStatus
(
1
);
setFirstTypeId
(
industryApplicationType
.
getId
());
}});
}});
if
(
industryApplicationInfoList
!=
null
&&
industryApplicationInfoList
.
size
()
>
0
)
{
if
(
industryApplicationInfoList
!=
null
&&
industryApplicationInfoList
.
size
()
>
0
)
{
industryTypeVo
.
setIndustryApplicationInfoList
(
industryApplicationInfoList
);
industryTypeVo
.
setIndustryApplicationInfoList
(
industryApplicationInfoList
);
...
@@ -121,4 +122,6 @@ public class IndustryApplicationTypeBiz extends BaseBiz<IndustryApplicationTypeM
...
@@ -121,4 +122,6 @@ public class IndustryApplicationTypeBiz extends BaseBiz<IndustryApplicationTypeM
return
ObjectRestResponse
.
succ
(
industryTypeVo
);
return
ObjectRestResponse
.
succ
(
industryTypeVo
);
}
}
}
}
\ 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