| | |
| | | <if test="record.zjzxm != null and record.zjzxm != ''"> |
| | | and b.nick_name like concat('%',#{record.zjzxm},'%') |
| | | </if> |
| | | <if test="record.hdmcbm != null and record.hdmcbm != ''"> |
| | | and (c.act_name like concat('%',#{record.hdmcbm},'%') or c.act_code like concat('%',#{record.hdmcbm},'%')) |
| | | </if> |
| | | </where> |
| | | <if test="record.sort !=null"> |
| | | order by |
| | |
| | | FROM |
| | | activity_sign_receive_record a |
| | | left join biz_user b on a.user_id= b.user_id |
| | | where a.user_id = #{userId} and a.id = #{receiveId} |
| | | where a.user_id = #{userId} and a.award_id = #{receiveId} |
| | | </select> |
| | | |
| | | <select id="selectShopDeliveryInfoByLogisticsId" resultType="com.matrix.system.shopXcx.bean.ShopDeliveryInfo"> |
| | | SELECT |
| | | * |
| | | FROM |
| | | shop_delivery_info a |
| | | where a.id = #{logisticsId} |
| | | </select> |
| | | |
| | | <select id="selectActivitySignWriteoffByUserIDAndReceiveId" resultType="com.matrix.system.activity.entity.ActivitySignWriteoff"> |
| | | SELECT |
| | | * |
| | | FROM |
| | | activity_sign_writeoff a |
| | | where a.receive_id = #{logisticsId} |
| | | and a.user_id = #{userId} |
| | | </select> |
| | | |
| | | </mapper> |