新增 后管鉴权卡页面修改

This commit is contained in:
Lemon
2023-03-23 10:09:22 +08:00
parent e97ee74215
commit 14dc324a56
7 changed files with 81 additions and 2 deletions

View File

@@ -116,4 +116,20 @@
where member_id = #{memberId,jdbcType=VARCHAR}
and logic_card = #{logicCard,jdbcType=VARCHAR}
</update>
<select id="getPileAuthCardInfoList" resultType="com.jsowell.pile.vo.web.PileAuthCardVO">
select
t1.id,
t1.logic_card as logicCard,
t1.physics_card as physicsCard,
t1.member_id as memberId,
t2.nick_name as nickName
from pile_auth_card t1
join member_basic_info t2 on t1.member_id = t2.member_id
where t1.del_flag = '0'
<if test="logicCard != null and logicCard != ''"> and logic_card = #{logicCard}</if>
<if test="physicsCard != null and physicsCard != ''"> and physics_card = #{physicsCard}</if>
<if test="status != null and status != ''"> and status = #{status}</if>
<if test="memberId != null and memberId != ''"> and member_id = #{memberId}</if>
</select>
</mapper>