feat:人脸列表
This commit is contained in:
1 parent
bf9c205899
commit
2db6f9b0ac
5 files changed
+26
-5
No files matched your search
+1
-1
@@ -39,7 +39,7 @@ public class HardBroadcastVo extends HardBroadcastEntity implements BaseHardInte
|
||||
|
||||
private String productDesc;
|
||||
|
||||
private String payPrice;
|
||||
private Integer payPrice;
|
||||
|
||||
|
||||
}
|
||||
+1
-1
@@ -48,7 +48,7 @@ public class HardBroadcastController {
|
||||
HardBroadcastDto dto = new HardBroadcastDto();
|
||||
DataScope dataScope = null;
|
||||
LocalDate today = LocalDate.now();
|
||||
dto.setIsDone(YesNoEnum.YES.getCode());
|
||||
dto.setIsDone(YesNoEnum.NO.getCode());
|
||||
dto.setCreateTimeList(new LocalDate[]{today, today.plusDays(1)});
|
||||
return R.ok(hardBroadcastService.scopePageJoin(page, dto, dataScope));
|
||||
}
|
||||
|
||||
+2
-1
@@ -49,7 +49,7 @@
|
||||
<sql id="whereA">
|
||||
a.del_flag = '0'
|
||||
<if test="dto.userId != null">
|
||||
and a.userId = #{dto.userId}
|
||||
and a.user_id = #{dto.userId}
|
||||
</if>
|
||||
<if test="dto.hardId != null">
|
||||
and a.hard_id = #{dto.hardId}
|
||||
@@ -84,5 +84,6 @@
|
||||
<where>
|
||||
<include refid="whereA"/>
|
||||
</where>
|
||||
order by a.create_time desc, a.id desc
|
||||
</select>
|
||||
</mapper>
|
||||
+7
@@ -29,4 +29,11 @@ public class SysUserFaceDto extends SysUserFaceEntity implements BaseIsIncludeTr
|
||||
private Boolean isInclude;
|
||||
|
||||
private Boolean isFindCheckUser = false;
|
||||
|
||||
/**
|
||||
* 用户相关
|
||||
*/
|
||||
private String username;
|
||||
|
||||
private String phone;
|
||||
}
|
||||
@@ -15,13 +15,19 @@
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectA">
|
||||
select a.user_id,
|
||||
select a.id,
|
||||
a.auto_code,
|
||||
a.user_id,
|
||||
a.process_id,
|
||||
a.process_status,
|
||||
a.face_img,
|
||||
a.create_by,
|
||||
a.create_time,
|
||||
a.update_by,
|
||||
a.update_time,
|
||||
a.del_flag,
|
||||
a.tenant_id,
|
||||
a.process_time,
|
||||
</sql>
|
||||
|
||||
<sql id="whereA">
|
||||
@@ -29,7 +35,8 @@
|
||||
<if test="pa.userId != null">
|
||||
and a.user_id = #{pa.userId}
|
||||
</if>
|
||||
<if test="pa.userId != null">
|
||||
<if test="pa.processStatus != null">
|
||||
and a.process_status = #{pa.processStatus}
|
||||
</if>
|
||||
</sql>
|
||||
|
||||
@@ -43,6 +50,12 @@
|
||||
left join sys_user u on u.user_id = a.user_id
|
||||
<where>
|
||||
<include refid="whereA"/>
|
||||
<if test="pa.username != null">
|
||||
and u.name LIKE CONCAT('%', #{pa.username}, '%')
|
||||
</if>
|
||||
<if test="pa.phone != null">
|
||||
and u.phone LIKE CONCAT('%', #{pa.phone}, '%')
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
|
||||
Reference in new issue
Block a user