记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
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
董敬伟
liquidnet-bus-v1
Commits
aea912e5
Commit
aea912e5
authored
Nov 03, 2022
by
胡佳晨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
getListAll 模糊搜索
parent
f167ae5c
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
27 additions
and
23 deletions
+27
-23
SmileShowController.java
...in/web/controller/zhengzai/smile/SmileShowController.java
+2
-2
ISmileShowService.java
...lient/admin/zhengzai/smile/service/ISmileShowService.java
+1
-1
SmileShowServiceImpl.java
...min/zhengzai/smile/service/impl/SmileShowServiceImpl.java
+2
-2
KylinPerformancesMapper.java
...quidnet/service/kylin/mapper/KylinPerformancesMapper.java
+1
-1
KylinPerformancesMapper.xml
...iquidnet.service.kylin.mapper/KylinPerformancesMapper.xml
+21
-17
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/java/com/liquidnet/client/admin/web/controller/zhengzai/smile/SmileShowController.java
View file @
aea912e5
...
@@ -41,8 +41,8 @@ public class SmileShowController {
...
@@ -41,8 +41,8 @@ public class SmileShowController {
@GetMapping
(
"/listAll"
)
@GetMapping
(
"/listAll"
)
@ApiOperation
(
"特邀代理获取可代理的演出列表"
)
@ApiOperation
(
"特邀代理获取可代理的演出列表"
)
@ResponseBody
@ResponseBody
public
ResponseDto
<
List
<
KylinPerformancesVo
>>
listAll
()
{
public
ResponseDto
<
List
<
KylinPerformancesVo
>>
listAll
(
String
title
)
{
return
smileShowService
.
listAll
();
return
smileShowService
.
listAll
(
title
);
}
}
@GetMapping
(
"/getShowById"
)
@GetMapping
(
"/getShowById"
)
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-zhengzai/src/main/java/com/liquidnet/client/admin/zhengzai/smile/service/ISmileShowService.java
View file @
aea912e5
...
@@ -77,6 +77,6 @@ public interface ISmileShowService extends IService<SmileSchool> {
...
@@ -77,6 +77,6 @@ public interface ISmileShowService extends IService<SmileSchool> {
AjaxResult
upTakeByPerId
(
String
perId
,
Integer
type
);
AjaxResult
upTakeByPerId
(
String
perId
,
Integer
type
);
ResponseDto
<
List
<
KylinPerformancesVo
>>
listAll
();
ResponseDto
<
List
<
KylinPerformancesVo
>>
listAll
(
String
title
);
}
}
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-zhengzai/src/main/java/com/liquidnet/client/admin/zhengzai/smile/service/impl/SmileShowServiceImpl.java
View file @
aea912e5
...
@@ -631,9 +631,9 @@ public class SmileShowServiceImpl extends ServiceImpl<SmileSchoolMapper, SmileSc
...
@@ -631,9 +631,9 @@ public class SmileShowServiceImpl extends ServiceImpl<SmileSchoolMapper, SmileSc
}
}
@Override
@Override
public
ResponseDto
<
List
<
KylinPerformancesVo
>>
listAll
()
{
public
ResponseDto
<
List
<
KylinPerformancesVo
>>
listAll
(
String
title
)
{
//返回可代理的演出名称和id
//返回可代理的演出名称和id
List
<
KylinPerformancesDto
>
kylinPerformancesDtoList
=
kylinPerformancesMapper
.
getListAll
();
List
<
KylinPerformancesDto
>
kylinPerformancesDtoList
=
kylinPerformancesMapper
.
getListAll
(
title
);
List
<
KylinPerformancesVo
>
kylinPerformancesVos
=
kylinPerformancesDtoList
.
stream
().
map
(
kylinPerformancesDto
->
KylinPerformancesVo
.
getNew
().
copyListAll
(
kylinPerformancesDto
)).
collect
(
Collectors
.
toList
());
List
<
KylinPerformancesVo
>
kylinPerformancesVos
=
kylinPerformancesDtoList
.
stream
().
map
(
kylinPerformancesDto
->
KylinPerformancesVo
.
getNew
().
copyListAll
(
kylinPerformancesDto
)).
collect
(
Collectors
.
toList
());
return
ResponseDto
.
success
(
kylinPerformancesVos
);
return
ResponseDto
.
success
(
kylinPerformancesVos
);
}
}
...
...
liquidnet-bus-do/liquidnet-service-kylin-do/src/main/java/com/liquidnet/service/kylin/mapper/KylinPerformancesMapper.java
View file @
aea912e5
...
@@ -83,5 +83,5 @@ public interface KylinPerformancesMapper extends BaseMapper<KylinPerformances> {
...
@@ -83,5 +83,5 @@ public interface KylinPerformancesMapper extends BaseMapper<KylinPerformances> {
//商品订单信息
//商品订单信息
List
<
CommodityOrderExportDao
>
exportCommodityOrder
(
@Param
(
"beginTime"
)
Date
beginTime
,
@Param
(
"endTime"
)
Date
endTime
);
List
<
CommodityOrderExportDao
>
exportCommodityOrder
(
@Param
(
"beginTime"
)
Date
beginTime
,
@Param
(
"endTime"
)
Date
endTime
);
List
<
KylinPerformancesDto
>
getListAll
();
List
<
KylinPerformancesDto
>
getListAll
(
String
title
);
}
}
liquidnet-bus-do/liquidnet-service-kylin-do/src/main/resources/com.liquidnet.service.kylin.mapper/KylinPerformancesMapper.xml
View file @
aea912e5
...
@@ -105,11 +105,11 @@
...
@@ -105,11 +105,11 @@
<result
column=
"refund_at"
property=
"refundAt"
/>
<result
column=
"refund_at"
property=
"refundAt"
/>
</resultMap>
</resultMap>
<!-- <resultMap id="OrderExportDaoResult" type="com.liquidnet.service.kylin.dao.OrderExportDao">-->
<!-- <resultMap id="OrderExportDaoResult" type="com.liquidnet.service.kylin.dao.OrderExportDao">-->
<!-- <result column="performance_title" property="performanceTitle"/>-->
<!-- <result column="performance_title" property="performanceTitle"/>-->
<!-- <result column="user_mobile" property="userMobile"/>-->
<!-- <result column="user_mobile" property="userMobile"/>-->
<!-- <result column="user_name" property="userName"/>-->
<!-- <result column="user_name" property="userName"/>-->
<!-- </resultMap>-->
<!-- </resultMap>-->
<resultMap
id=
"PerformanceSimpleAllDaoResult"
type=
"com.liquidnet.service.kylin.dao.PerformanceSimpleAllDao"
>
<resultMap
id=
"PerformanceSimpleAllDaoResult"
type=
"com.liquidnet.service.kylin.dao.PerformanceSimpleAllDao"
>
<result
column=
"performances_id"
property=
"performancesId"
/>
<result
column=
"performances_id"
property=
"performancesId"
/>
...
@@ -772,22 +772,26 @@ GROUP BY user_mobile,tickets_id;
...
@@ -772,22 +772,26 @@ GROUP BY user_mobile,tickets_id;
<select
id=
"getListAll"
resultType=
"com.liquidnet.service.kylin.dao.report.KylinPerformancesDto"
>
<select
id=
"getListAll"
resultType=
"com.liquidnet.service.kylin.dao.report.KylinPerformancesDto"
>
SELECT
SELECT
kp.performances_id AS performancesId,
kp.performances_id AS performancesId,
kp.title,
kp.title,
kps.`status`,
kps.`status`,
sa.type
sa.type
FROM
FROM
kylin_performances AS kp
kylin_performances AS kp
LEFT JOIN kylin_performance_status AS kps ON kps.performance_id = kp.performances_id
LEFT JOIN kylin_performance_status AS kps ON kps.performance_id = kp.performances_id
LEFT JOIN smile_agent AS sa ON sa.performance_id = kp.performances_id
LEFT JOIN smile_agent AS sa ON sa.performance_id = kp.performances_id
WHERE
WHERE
kp.performances_id IN ( SELECT sa.performance_id FROM smile_agent AS sa WHERE sa.del_tag = 0 AND sa.type = 0 GROUP BY sa.performance_id )
kp.performances_id IN ( SELECT sa.performance_id FROM smile_agent AS sa WHERE sa.del_tag = 0 AND sa.type = 0
AND sa.`type` = 0
GROUP BY sa.performance_id )
AND sa.`type` = 0
<if
test=
"title!=''"
>
AND kp.title LIKE concat('%', #{title}, '%')
</if>
GROUP BY
GROUP BY
sa.performance_id
sa.performance_id
ORDER BY
ORDER BY
kp.COMMENT DESC,
kp.COMMENT DESC,
kp.time_start DESC
kp.time_start DESC
</select>
</select>
<select
id=
"selectTicketIdByPerId"
resultType=
"com.liquidnet.service.kylin.dao.KylinPerformancesDao"
>
<select
id=
"selectTicketIdByPerId"
resultType=
"com.liquidnet.service.kylin.dao.KylinPerformancesDao"
>
...
...
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