收银点更改

This commit is contained in:
liuyingfang
2024-02-19 17:45:38 +08:00
parent 93ad59c289
commit ce094f50f5
12 changed files with 234 additions and 23 deletions

View File

@@ -12,4 +12,6 @@ public interface MerchantChannelMapper extends BaseMapper<MerchantChannel> {
* @return
*/
List<Integer> selectValidIdList();
List<MerchantChannel> selectList();
}

View File

@@ -53,4 +53,6 @@ public interface MerchantChannelStatusMapper extends BaseMapper<MerchantChannelS
*/
UserNumVO getUserNumInfo(@Param("userId") Long userId, @Param("date")String date, @Param("dateType")Integer dateType);
List<merchantChannelVO> pageDate(@Param("pageSize")Integer size, @Param("offset")Integer page);
List<Integer> getChannelByMerchantCode(@Param("merchantCode") String merchantCode);
}

View File

@@ -14,5 +14,10 @@
SELECT id FROM tb_pluss_merchant_channel WHERE `status` = 1
</select>
<select id="selectList" resultType="cn.pluss.platform.entity.MerchantChannel">
SELECT id,channelName FROM tb_pluss_merchant_channel WHERE `status` = 1
</select>
</mapper>

View File

@@ -89,4 +89,7 @@
WHERE mcs.`valid` = -1
order by mcs.id desc limit #{pageSize} offset #{offset};
</select>
<select id="getChannelByMerchantCode" resultType="java.lang.Integer">
SELECT channel FROM tb_pluss_merchant_channel_status WHERE merchantCode=#{merchantCode}
</select>
</mapper>