no message

This commit is contained in:
DESKTOP-369JRHT\12997 2024-05-31 09:06:45 +08:00
parent 6e5addb78c
commit 67723cf45e
2 changed files with 5 additions and 2 deletions

View File

@ -372,7 +372,8 @@
-- SUM(CASE WHEN status = 'refund' THEN pay_money ELSE 0 END) AS totalRefund -- SUM(CASE WHEN status = 'refund' THEN pay_money ELSE 0 END) AS totalRefund
FROM FROM
all_order_info all_order_info
where store_id = #{storeId}
AND pay_time = CURDATE()
</select> </select>
<select id="getHandOverList" resultType="com.fuint.business.order.vo.AllOrderInfoVo"> <select id="getHandOverList" resultType="com.fuint.business.order.vo.AllOrderInfoVo">
SELECT SELECT

View File

@ -936,7 +936,9 @@ public class AllOrderInfoServiceImpl extends ServiceImpl<AllOrderInfoMapper,AllO
@Override @Override
public AllOrderInfoVo getIndexData4Pos(){ public AllOrderInfoVo getIndexData4Pos(){
AllOrderInfoDto allOrderInfoDto = new AllOrderInfoDto(); AllOrderInfoDto allOrderInfoDto = new AllOrderInfoDto();
AllOrderInfoVo indexData4Pos = allOrderInfoMapper.getIndexData4Pos(allOrderInfoDto); AccountInfo nowAccountInfo = TokenUtil.getNowAccountInfo();
allOrderInfoDto.setStoreId(nowAccountInfo.getStoreId());
// AllOrderInfoVo indexData4Pos = allOrderInfoMapper.getIndexData4Pos(allOrderInfoDto);
return allOrderInfoMapper.getIndexData4Pos(allOrderInfoDto); return allOrderInfoMapper.getIndexData4Pos(allOrderInfoDto);
} }