提交 daa800d7 作者: 刘明祎-运维用途

Merge branch 'develop'

流水线 #7259 已通过 于阶段
in 2 分 59 秒
...@@ -43,7 +43,7 @@ public class ServiceOrderQO { ...@@ -43,7 +43,7 @@ public class ServiceOrderQO {
@ApiModelProperty(value = "查询指定飞手列表中飞手的订单") @ApiModelProperty(value = "查询指定飞手列表中飞手的订单")
@JsonIgnore @JsonIgnore
private List<Integer> pilotUserIdList; private List<Integer> pilotUserIdList = null;
public void buildCurrentPage() { public void buildCurrentPage() {
this.pageNo = (pageNo - 1) * pageSize; this.pageNo = (pageNo - 1) * pageSize;
} }
......
...@@ -18,4 +18,4 @@ patches: ...@@ -18,4 +18,4 @@ patches:
images: images:
- name: REGISTRY/NAMESPACE/IMAGE:TAG - name: REGISTRY/NAMESPACE/IMAGE:TAG
newName: mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly-dev/ims newName: mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly-dev/ims
newTag: 0132b1e1786c56eb455f943b1fc36afab8805e3e newTag: 1aff12cab9b7e87a73bd5fe447179a02a8aef31b
...@@ -46,8 +46,8 @@ public class BackRequirementsServiceImpl implements BackRequirementsService { ...@@ -46,8 +46,8 @@ public class BackRequirementsServiceImpl implements BackRequirementsService {
if(pilotUserIdList == null || pilotUserIdList.isEmpty()) { if(pilotUserIdList == null || pilotUserIdList.isEmpty()) {
return PageResult.buildPage(param.getPageNo(), param.getPageSize(), 0); return PageResult.buildPage(param.getPageNo(), param.getPageSize(), 0);
} }
param.setPilotUserIdList(pilotUserIdList);
} }
param.setPilotUserIdList(pilotUserIdList);
int count = backRequirementsDao.countService(param); int count = backRequirementsDao.countService(param);
if (count == 0) { if (count == 0) {
......
...@@ -105,8 +105,8 @@ ...@@ -105,8 +105,8 @@
LEFT JOIN service_flow sf ON ri.service_flow_id = sf.id LEFT JOIN service_flow sf ON ri.service_flow_id = sf.id
WHERE WHERE
ri.publish =1 ri.publish =1
<bind name="isPilotUserIdListEmpty" value="pilotUserIdList != null and pilotUserIdList.isEmpty()" /> <bind name="isPilotUserIdListEmpty" value="pilotUserIdList != null and !pilotUserIdList.isEmpty()" />
<if test="!isPilotUserIdListEmpty"> <if test="isPilotUserIdListEmpty">
AND rs.pilot_certification_user_id IN AND rs.pilot_certification_user_id IN
<foreach item="item" collection="pilotUserIdList" open="(" separator="," close=")"> <foreach item="item" collection="pilotUserIdList" open="(" separator="," close=")">
#{item} #{item}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论