@ -182,7 +182,13 @@ public class HighOrderController {
map.put("companyId", companyId);
} else if (userInfoModel.getSecUser().getObjectType() == 1) {
if (userInfoModel.getBsCompany().getId() == 3) {
map.put("companyId", 23);
} else {
map.put("companyId", userInfoModel.getBsCompany().getId());
}
map.put("merchantId", merchantId);
} else if (userInfoModel.getSecUser().getObjectType() == 2) {
@ -96,8 +96,9 @@ public interface OutRechargeOrderMapperExt {
"<if test='map.createTimeE != null'> <![CDATA[ and a.create_timed <= #{map.createTimeE} ]]> </if>",
"<if test='map.payTimeS != null'> <![CDATA[ and a.pay_time >= #{map.payTimeS} ]]> </if>",
"<if test='map.payTimeE != null'> <![CDATA[ and a.pay_time <= #{map.payTimeE} ]]> </if>",
" group by pay_time " +
" ORDER BY" +
" a.create_timed DESC" +
" a.create_timed DESC " +
"</script>"
})
List<OutRechargeOrderModel> selectOrderCount(@Param("map") Map<String,Object> map);