|
|
@@ -90,7 +90,7 @@ public class PlanNewController {
|
|
|
* @return {@link Mono}<{@link RStatus}<{@link Long}>>
|
|
|
*/
|
|
|
@GetMapping("groupTypeSlt")
|
|
|
- public Mono<RStatus<List<GroupType>>> groupTypeSlt (String name,String groupType){
|
|
|
+ public Mono<RStatus<List<GroupType>>> groupTypeSlt (@RequestParam("name") String name,@RequestParam("groupType")String groupType){
|
|
|
Criteria criteria= Criteria.where("group_type").is(groupType);
|
|
|
if (Objects.nonNull(name) && "" != name) {
|
|
|
criteria = criteria.and("name").like("%"+name+"%");
|
|
|
@@ -104,7 +104,7 @@ public class PlanNewController {
|
|
|
* @return {@link Mono}<{@link RStatus}<{@link Long}>>
|
|
|
*/
|
|
|
@GetMapping("retrunloopSlt")
|
|
|
- public Mono<RStatus<List<ReturnLoop>>> retrunloopSlt (String name){
|
|
|
+ public Mono<RStatus<List<ReturnLoop>>> retrunloopSlt (@RequestParam("name") String name){
|
|
|
Criteria criteria= Criteria.empty() ; //poster_template_id
|
|
|
if (Objects.nonNull(name) && "" != name) {
|
|
|
criteria = criteria.and("name").like("%"+name+"%");
|
|
|
@@ -118,7 +118,7 @@ public class PlanNewController {
|
|
|
* @return {@link Mono}<{@link RStatus}<{@link Long}>>
|
|
|
*/
|
|
|
@GetMapping("backgroupSlt")
|
|
|
- public Mono<RStatus<List<BackgroupImage>>> backgroupSlt ( String name,String groupType){
|
|
|
+ public Mono<RStatus<List<BackgroupImage>>> backgroupSlt ( @RequestParam("name") String name,@RequestParam("groupType") String groupType){
|
|
|
|
|
|
Criteria criteria= Criteria.where("group_type").is(groupType) ; //poster_template_id
|
|
|
if (Objects.nonNull(name) && "" != name) {
|
|
|
@@ -133,7 +133,7 @@ public class PlanNewController {
|
|
|
* @return {@link Mono}<{@link RStatus}<{@link Long}>>
|
|
|
*/
|
|
|
@GetMapping("audioSlt")
|
|
|
- public Mono<RStatus<List<Audio>>> audio (String name){
|
|
|
+ public Mono<RStatus<List<Audio>>> audio (@RequestParam("name") String name){
|
|
|
Criteria criteria= Criteria.empty() ; //poster_template_id
|
|
|
if (Objects.nonNull(name) && "" != name) {
|
|
|
criteria = criteria.and("name").like("%"+name+"%");
|