新增功能:收银台

This commit is contained in:
2024-08-05 23:11:42 +08:00
parent 6814d7ed9f
commit 9d8aeb5104
2 changed files with 5 additions and 9 deletions
@@ -52,7 +52,7 @@
AND a.cashier_id LIKE CONCAT('%', #{param.cashierId}, '%') AND a.cashier_id LIKE CONCAT('%', #{param.cashierId}, '%')
</if> </if>
<if test="param.groupId != null"> <if test="param.groupId != null">
AND a.group_id LIKE CONCAT('%', #{param.groupId}, '%') AND a.group_id = #{param.groupId}
</if> </if>
<if test="param.createTimeStart != null"> <if test="param.createTimeStart != null">
AND a.create_time &gt;= #{param.createTimeStart} AND a.create_time &gt;= #{param.createTimeStart}
@@ -1,16 +1,12 @@
package com.gxwebsoft.shop.service.impl; package com.gxwebsoft.shop.service.impl;
import cn.hutool.core.util.ObjectUtil;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gxwebsoft.shop.entity.Cart;
import com.gxwebsoft.shop.mapper.CashierMapper;
import com.gxwebsoft.shop.service.CashierService;
import com.gxwebsoft.shop.entity.Cashier;
import com.gxwebsoft.shop.param.CashierParam;
import com.gxwebsoft.common.core.web.PageParam; import com.gxwebsoft.common.core.web.PageParam;
import com.gxwebsoft.common.core.web.PageResult; import com.gxwebsoft.common.core.web.PageResult;
import com.gxwebsoft.shop.vo.CartVo; import com.gxwebsoft.shop.entity.Cashier;
import com.gxwebsoft.shop.mapper.CashierMapper;
import com.gxwebsoft.shop.param.CashierParam;
import com.gxwebsoft.shop.service.CashierService;
import com.gxwebsoft.shop.vo.CashierVo; import com.gxwebsoft.shop.vo.CashierVo;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional; import org.springframework.transaction.annotation.Transactional;