dev-discount
胡锐 3 years ago
commit 2fcdf91dd3
  1. 6
      hai-bweb/src/main/java/com/bweb/controller/HighOrderController.java
  2. 3
      hai-service/src/main/java/com/hai/dao/OutRechargeOrderMapperExt.java

@ -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);

Loading…
Cancel
Save