Merge remote-tracking branch 'origin/dev' into dev

dev-discount
袁野 3 years ago
commit f173557c15
  1. 1
      hai-bweb/src/main/java/com/bweb/controller/HighTyAgentController.java
  2. 53
      hai-bweb/src/main/java/com/bweb/controller/HighTyAgentOilStationController.java
  3. 59
      hai-bweb/src/main/java/com/bweb/controller/HighTyAgentPriceController.java
  4. 4
      hai-bweb/src/main/java/com/bweb/controller/SecUserController.java
  5. 42
      hai-cweb/src/main/java/com/cweb/controller/HighGasController.java
  6. 23
      hai-cweb/src/main/java/com/cweb/controller/HighOrderController.java
  7. 34
      hai-service/src/main/java/com/hai/dao/HighChildOrderMapper.java
  8. 70
      hai-service/src/main/java/com/hai/dao/HighChildOrderSqlProvider.java
  9. 50
      hai-service/src/main/java/com/hai/dao/HighTyAgentOilStationMapperExt.java
  10. 80
      hai-service/src/main/java/com/hai/entity/HighChildOrder.java
  11. 330
      hai-service/src/main/java/com/hai/entity/HighChildOrderExample.java
  12. 10
      hai-service/src/main/java/com/hai/entity/HighOrder.java
  13. 144
      hai-service/src/main/java/com/hai/model/TyOrderModel.java
  14. 8
      hai-service/src/main/java/com/hai/service/HighTyAgentOilStationService.java
  15. 6
      hai-service/src/main/java/com/hai/service/impl/HighTyAgentOilStationServiceImpl.java

@ -199,4 +199,5 @@ public class HighTyAgentController {
}

@ -8,11 +8,13 @@ import com.hai.common.exception.ErrorHelp;
import com.hai.common.exception.SysCode;
import com.hai.common.security.UserCenter;
import com.hai.common.utils.ResponseMsgUtil;
import com.hai.entity.HighTySalesman;
import com.hai.enum_type.UserObjectTypeEnum;
import com.hai.model.ResponseData;
import com.hai.model.UserInfoModel;
import com.hai.service.BsOrganizationService;
import com.hai.service.HighTyAgentOilStationService;
import com.hai.service.HighTySalesmanService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.slf4j.Logger;
@ -39,6 +41,9 @@ public class HighTyAgentOilStationController {
@Resource
private BsOrganizationService organizationService;
@Resource
private HighTySalesmanService tySalesmanService;
@Resource
private UserCenter userCenter;
@ -315,4 +320,52 @@ public class HighTyAgentOilStationController {
return ResponseMsgUtil.exception(e);
}
}
@RequestMapping(value = "/getOrderList", method = RequestMethod.GET)
@ResponseBody
@ApiOperation(value = "查询订单列表")
public ResponseData getOrderList(@RequestParam(name = "orderNo", required = false) String orderNo,
@RequestParam(name = "goodsName", required = false) String goodsName,
@RequestParam(name = "salesmanName", required = false) String salesmanName,
@RequestParam(name = "agentName", required = false) String agentName,
@RequestParam(name = "orgName", required = false) String orgName,
@RequestParam(name = "pageNum", required = true) Integer pageNum,
@RequestParam(name = "pageSize", required = true) Integer pageSize) {
try {
UserInfoModel userModel = userCenter.getSessionModel(UserInfoModel.class);
if (userModel == null) {
throw ErrorHelp.genException(SysCode.System, ErrorCode.SEC_USER_EXPIRED, "");
}
Map<String, Object> param = new HashMap<>();
param.put("orderNo", orderNo);
param.put("goodsName", goodsName);
if (userModel.getBsCompany() != null && userModel.getSecUser().getAdminFlag().equals(1)) {
param.put("companyId", userModel.getBsCompany().getId());
param.put("orgName", orgName);
param.put("agentName", agentName);
param.put("salesmanName", salesmanName);
} else if (userModel.getBsCompany() != null && userModel.getSecUser().getAdminFlag().equals(0)) {
param.put("orgId", userModel.getBsOrganization().getId());
param.put("agentName", agentName);
param.put("salesmanName", salesmanName);
} else if (userModel.getSecUser().getObjectType().equals(UserObjectTypeEnum.type6.getType())) {
param.put("agentId", userModel.getHighTyAgent().getId());
param.put("salesmanName", salesmanName);
} else if (userModel.getSecUser().getObjectType().equals(UserObjectTypeEnum.type7.getType())) {
param.put("salesmanId", userModel.getHighTySalesman().getId());
}
PageHelper.startPage(pageNum,pageSize);
return ResponseMsgUtil.success(new PageInfo<>(highTyAgentOilStationService.getOrderList(param)));
} catch (Exception e) {
log.error("HighTyAgentController --> getAgentList() error!", e);
return ResponseMsgUtil.exception(e);
}
}
}

@ -1,18 +1,16 @@
package com.bweb.controller;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.hai.common.exception.ErrorCode;
import com.hai.common.exception.ErrorHelp;
import com.hai.common.exception.SysCode;
import com.hai.common.security.UserCenter;
import com.hai.common.utils.ResponseMsgUtil;
import com.hai.entity.HighGasOilPrice;
import com.hai.entity.HighMerchantStore;
import com.hai.entity.HighTyAgentPrice;
import com.hai.entity.*;
import com.hai.model.ResponseData;
import com.hai.service.HighGasOilPriceService;
import com.hai.service.HighMerchantStoreService;
import com.hai.service.HighTyAgentPriceService;
import com.hai.service.*;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.apache.commons.lang3.StringUtils;
@ -37,21 +35,36 @@ public class HighTyAgentPriceController {
@Resource
private HighTyAgentPriceService tyAgentPriceService;
@Resource
private HighTyAgentOilStationService tyAgentOilStationService;
@Resource
private HighMerchantStoreService merchantStoreService;
@Resource
private HighGasOilPriceService gasOilPriceService;
@Resource
private HighGasDiscountOilPriceService gasDiscountOilPriceService;
@Resource
private CommonService commonService;
@Resource
private UserCenter userCenter;
@RequestMapping(value = "/editPrice", method = RequestMethod.POST)
@ResponseBody
@ApiOperation(value = "编辑价格")
public ResponseData editPrice(@RequestBody JSONObject body) {
public ResponseData editPrice(@RequestBody JSONArray bodyArray) {
try {
if (bodyArray == null || bodyArray.size() == 0) {
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMPETENCE_INSUFFICIENT, "");
}
for (Object obj : bodyArray) {
JSONObject body = (JSONObject)JSONObject.toJSON(obj);
if (body.getLong("tyAgentOilStationId") == null
|| StringUtils.isBlank(body.getString("oilNoName"))
|| StringUtils.isBlank(body.getString("oilNo"))
@ -70,8 +83,9 @@ public class HighTyAgentPriceController {
} else {
agentOilStation.setPriceRate(body.getBigDecimal("priceRate"));
}
tyAgentPriceService.editTyAgentPrice(agentOilStation);
}
return ResponseMsgUtil.success("操作成功");
@ -87,22 +101,41 @@ public class HighTyAgentPriceController {
public ResponseData getOilStationPrice(@RequestParam(name = "oilStationId", required = true) Long oilStationId) {
try {
List<HighGasOilPrice> oilPriceList = gasOilPriceService.getGasOilPriceByStore(oilStationId);
HighTyAgentOilStation station = tyAgentOilStationService.getDetailByOilStationId(oilStationId);
if (station == null) {
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "加油站未分配,无法查看");
}
List<HighGasOilPrice> oilPriceList = gasOilPriceService.getGasOilPriceByStore(oilStationId);
if (oilPriceList == null) {
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "此加油站,暂无法配置");
}
List<Map<String, Object>> oilPriceMapList = new ArrayList<>();
Map<String, Object> oilPriceMap;
for (HighGasOilPrice price : oilPriceList) {
oilPriceMap = new HashMap<>();
oilPriceMap.put("oilStationId", oilStationId);
oilPriceMap.put("tyAgentOilStationId", station.getId());
oilPriceMap.put("oilNo", price.getOilNo());
oilPriceMap.put("oilNoName", price.getOilNoName());
oilPriceMap.put("lowPrice", commonService.getDictionaryCodeName("TY_AGENT_OIL_STATION_LOW_PRICE", price.getOilNo().toString()));
// 价格
HighTyAgentPrice priceRate = tyAgentPriceService.getDetail(station.getId(), price.getOilNo().toString());
if (priceRate == null) {
HighGasDiscountOilPrice oilNo = gasDiscountOilPriceService.getDetailByOilNo(price.getOilNo().toString());
if (oilNo == null) {
oilPriceMap.put("priceRate", 0);
} else {
oilPriceMap.put("priceRate", oilNo.getPriceRate());
}
} else {
oilPriceMap.put("priceRate", priceRate.getPriceRate());
}
oilPriceMapList.add(oilPriceMap);
HighTyAgentPrice tyAgentPrice = tyAgentPriceService.getDetail(oilStationId, price.getOilNo().toString());
}
return ResponseMsgUtil.success(oilPriceList);
return ResponseMsgUtil.success(oilPriceMapList);
} catch (Exception e) {
log.error("HighTyAgentPriceController --> getOilStationPrice() error!", e);

@ -54,7 +54,7 @@ public class SecUserController {
@RequestMapping(value="/sendUserPass",method = RequestMethod.POST)
@ResponseBody
@ApiOperation(value = "修改用户密码 {'userId':'','nonceStr':'','password':'','sign':''} ")
@ApiOperation(value = "修改用户密码 {'userId':'','nonceStr':'','newPassword':'','sign':''} ")
public ResponseData sendUserPass(@RequestBody String reqBody, HttpServletRequest request, HttpServletResponse response) throws Exception{
try {
@ -62,7 +62,7 @@ public class SecUserController {
Long userId = jsonObject.getLong("userId"); //用户Id
String oldPassword = jsonObject.getString("oldPassword"); //旧密码
String password = jsonObject.getString("password"); //密码
String password = jsonObject.getString("newPassword"); //密码
if(userId == null || StringUtils.isBlank(oldPassword) || StringUtils.isBlank(password)) {
log.error("BaseMemberController --> sendUserPass() error!","参数错误");

@ -13,16 +13,11 @@ import com.hai.common.utils.ResponseMsgUtil;
import com.hai.config.CommonSysConst;
import com.hai.config.TuanYouConfig;
import com.hai.dao.HighGasOrderPushMapper;
import com.hai.entity.HighGasDiscountOilPrice;
import com.hai.entity.HighGasOrderPush;
import com.hai.entity.HighOrder;
import com.hai.entity.SecRegion;
import com.hai.entity.*;
import com.hai.enum_type.OrderPushType;
import com.hai.model.HighMerchantStoreModel;
import com.hai.model.ResponseData;
import com.hai.service.CommonService;
import com.hai.service.HighGasDiscountOilPriceService;
import com.hai.service.HighGasOilPriceService;
import com.hai.service.HighOrderService;
import com.hai.service.*;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.apache.commons.collections4.MapUtils;
@ -56,9 +51,18 @@ public class HighGasController {
@Resource
private HighGasDiscountOilPriceService highGasDiscountOilPriceService;
@Resource
private HighTyAgentOilStationService tyAgentOilStationService;
@Resource
private HighTyAgentPriceService tyAgentPriceService;
@Resource
private HighGasOrderPushMapper highGasOrderPushMapper;
@Resource
private HighMerchantStoreService merchantStoreService;
@RequestMapping(value="/getGasStoreList",method = RequestMethod.GET)
@ResponseBody
@ApiOperation(value = "查询加油站列表")
@ -116,9 +120,16 @@ public class HighGasController {
@ApiOperation(value = "根据门店key 查询")
public ResponseData getGasDetailByStoreKey(@RequestParam(name = "storeKey", required = true) String storeKey,
@RequestParam(name = "longitude", required = true) String longitude,
@RequestParam(name = "latitude", required = true) String latitude) {
@RequestParam(name = "latitude", required = true) String latitude,
@RequestParam(name = "isTyAgent", required = false) Boolean isTyAgent) {
try {
// 商户门店
HighMerchantStoreModel store = merchantStoreService.getMerchantStoreByKey(storeKey);
if (store == null) {
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "未找到加油站");
}
JSONObject jsonObject = TuanYouConfig.queryGasInfoByGasId(storeKey);
if (jsonObject != null && jsonObject.getString("code").equals("200")) {
JSONObject result = jsonObject.getJSONObject("result");
@ -141,6 +152,19 @@ public class HighGasController {
price.put("priceVip", price.getBigDecimal("priceOfficial").multiply(priceRate).setScale(2, BigDecimal.ROUND_DOWN));
}
if (isTyAgent != null && isTyAgent == true) {
// 查询是否配置了优惠比例
HighTyAgentOilStation tyAgentOilStation = tyAgentOilStationService.getDetailByOilStationId(store.getId());
if (tyAgentOilStation != null) {
HighTyAgentPrice tyAgentPrice = tyAgentPriceService.getDetail(tyAgentOilStation.getId(), price.getString("oilNo"));
if (tyAgentPrice != null) {
// 优惠比例 / 100 = 最终优惠比例
BigDecimal priceRate = tyAgentPrice.getPriceRate().divide(new BigDecimal("100").setScale(2, BigDecimal.ROUND_DOWN));
// 油品国标价 * 最终优惠比例
price.put("priceVip", price.getBigDecimal("priceOfficial").multiply(priceRate).setScale(2, BigDecimal.ROUND_DOWN));
}
}
}
// 过滤油品,只保留汽油
if (price.getInteger("oilType") == 1) {
newOilPriceList.add(price);

@ -77,6 +77,12 @@ public class HighOrderController {
@Resource
private HighUserService highUserService;
@Resource
private HighTyAgentOilStationService tyAgentOilStationService;
@Resource
private HighTyAgentPriceService tyAgentPriceService;
@RequestMapping(value="/addOrder",method = RequestMethod.POST)
@ResponseBody
@ApiOperation(value = "增加订单")
@ -222,6 +228,19 @@ public class HighOrderController {
}
highOrder.setPayType(2); // 第三方平台
if (highOrder.getIsTyAgent() != null && highOrder.getIsTyAgent() == true) {
// 查询加油站
HighTyAgentOilStation oilStation = tyAgentOilStationService.getDetailByOilStationId(childOrder.getGoodsId());
if (oilStation != null) {
childOrder.setGasSalesmanId(oilStation.getTySalesmanId());
childOrder.setGasSalesmanName(oilStation.getTySalesmanName());
childOrder.setGasAgentId(oilStation.getTyAgentId());
childOrder.setGasAgentName(oilStation.getTyAgentName());
childOrder.setGasOrgId(oilStation.getOrganizationId());
childOrder.setGasOrgName(oilStation.getOrganizationName());
}
}
// 获取当前加油价格
JSONObject jsonObject = TuanYouConfig.queryCompanyPriceDetail(store.getStoreKey(), childOrder.getGasOilNo());
if (jsonObject == null || !jsonObject.getString("code").equals("200")) {
@ -405,8 +424,8 @@ public class HighOrderController {
}
public static void main(String[] args) {
System.out.println(new BigDecimal("100").divide(new BigDecimal("8.10"),10,BigDecimal.ROUND_DOWN)
.multiply(new BigDecimal("7.69")).setScale(2,BigDecimal.ROUND_HALF_UP));
System.out.println(new BigDecimal("100").divide(new BigDecimal("7.00"),10,BigDecimal.ROUND_DOWN)
.multiply(new BigDecimal("4.2")).setScale(2,BigDecimal.ROUND_HALF_UP));
}
@RequestMapping(value = "/getOrderById", method = RequestMethod.GET)

@ -51,9 +51,11 @@ public interface HighChildOrderMapper extends HighChildOrderMapperExt {
"gas_oil_no, gas_gun_no, ",
"gas_oil_type, gas_order_no, ",
"gas_price_gun, gas_price_vip, ",
"gas_salesman_id, ext_1, ",
"ext_2, ext_3, ext_4, ",
"ext_5, ext_6)",
"gas_salesman_id, gas_salesman_name, ",
"gas_agent_id, gas_agent_name, ",
"gas_org_id, gas_org_name, ",
"ext_1, ext_2, ext_3, ",
"ext_4, ext_5, ext_6)",
"values (#{orderId,jdbcType=BIGINT}, #{memId,jdbcType=BIGINT}, ",
"#{storeId,jdbcType=BIGINT}, #{storeName,jdbcType=VARCHAR}, ",
"#{storeAddress,jdbcType=VARCHAR}, #{goodsType,jdbcType=INTEGER}, ",
@ -66,9 +68,11 @@ public interface HighChildOrderMapper extends HighChildOrderMapperExt {
"#{gasOilNo,jdbcType=VARCHAR}, #{gasGunNo,jdbcType=VARCHAR}, ",
"#{gasOilType,jdbcType=INTEGER}, #{gasOrderNo,jdbcType=VARCHAR}, ",
"#{gasPriceGun,jdbcType=DECIMAL}, #{gasPriceVip,jdbcType=DECIMAL}, ",
"#{gasSalesmanId,jdbcType=BIGINT}, #{ext1,jdbcType=VARCHAR}, ",
"#{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR}, #{ext4,jdbcType=VARCHAR}, ",
"#{ext5,jdbcType=VARCHAR}, #{ext6,jdbcType=VARCHAR})"
"#{gasSalesmanId,jdbcType=BIGINT}, #{gasSalesmanName,jdbcType=VARCHAR}, ",
"#{gasAgentId,jdbcType=BIGINT}, #{gasAgentName,jdbcType=VARCHAR}, ",
"#{gasOrgId,jdbcType=BIGINT}, #{gasOrgName,jdbcType=VARCHAR}, ",
"#{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR}, ",
"#{ext4,jdbcType=VARCHAR}, #{ext5,jdbcType=VARCHAR}, #{ext6,jdbcType=VARCHAR})"
})
@Options(useGeneratedKeys=true,keyProperty="id")
int insert(HighChildOrder record);
@ -105,6 +109,11 @@ public interface HighChildOrderMapper extends HighChildOrderMapperExt {
@Result(column="gas_price_gun", property="gasPriceGun", jdbcType=JdbcType.DECIMAL),
@Result(column="gas_price_vip", property="gasPriceVip", jdbcType=JdbcType.DECIMAL),
@Result(column="gas_salesman_id", property="gasSalesmanId", jdbcType=JdbcType.BIGINT),
@Result(column="gas_salesman_name", property="gasSalesmanName", jdbcType=JdbcType.VARCHAR),
@Result(column="gas_agent_id", property="gasAgentId", jdbcType=JdbcType.BIGINT),
@Result(column="gas_agent_name", property="gasAgentName", jdbcType=JdbcType.VARCHAR),
@Result(column="gas_org_id", property="gasOrgId", jdbcType=JdbcType.BIGINT),
@Result(column="gas_org_name", property="gasOrgName", jdbcType=JdbcType.VARCHAR),
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR),
@Result(column="ext_2", property="ext2", jdbcType=JdbcType.VARCHAR),
@Result(column="ext_3", property="ext3", jdbcType=JdbcType.VARCHAR),
@ -120,7 +129,8 @@ public interface HighChildOrderMapper extends HighChildOrderMapperExt {
"goods_name, goods_desc, goods_img, goods_spec_name, goods_price, goods_actual_price, ",
"sale_count, total_price, giveaway_type, child_orde_status, praise_status, gas_oil_no, ",
"gas_gun_no, gas_oil_type, gas_order_no, gas_price_gun, gas_price_vip, gas_salesman_id, ",
"ext_1, ext_2, ext_3, ext_4, ext_5, ext_6",
"gas_salesman_name, gas_agent_id, gas_agent_name, gas_org_id, gas_org_name, ext_1, ",
"ext_2, ext_3, ext_4, ext_5, ext_6",
"from high_child_order",
"where id = #{id,jdbcType=BIGINT}"
})
@ -151,6 +161,11 @@ public interface HighChildOrderMapper extends HighChildOrderMapperExt {
@Result(column="gas_price_gun", property="gasPriceGun", jdbcType=JdbcType.DECIMAL),
@Result(column="gas_price_vip", property="gasPriceVip", jdbcType=JdbcType.DECIMAL),
@Result(column="gas_salesman_id", property="gasSalesmanId", jdbcType=JdbcType.BIGINT),
@Result(column="gas_salesman_name", property="gasSalesmanName", jdbcType=JdbcType.VARCHAR),
@Result(column="gas_agent_id", property="gasAgentId", jdbcType=JdbcType.BIGINT),
@Result(column="gas_agent_name", property="gasAgentName", jdbcType=JdbcType.VARCHAR),
@Result(column="gas_org_id", property="gasOrgId", jdbcType=JdbcType.BIGINT),
@Result(column="gas_org_name", property="gasOrgName", jdbcType=JdbcType.VARCHAR),
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR),
@Result(column="ext_2", property="ext2", jdbcType=JdbcType.VARCHAR),
@Result(column="ext_3", property="ext3", jdbcType=JdbcType.VARCHAR),
@ -196,6 +211,11 @@ public interface HighChildOrderMapper extends HighChildOrderMapperExt {
"gas_price_gun = #{gasPriceGun,jdbcType=DECIMAL},",
"gas_price_vip = #{gasPriceVip,jdbcType=DECIMAL},",
"gas_salesman_id = #{gasSalesmanId,jdbcType=BIGINT},",
"gas_salesman_name = #{gasSalesmanName,jdbcType=VARCHAR},",
"gas_agent_id = #{gasAgentId,jdbcType=BIGINT},",
"gas_agent_name = #{gasAgentName,jdbcType=VARCHAR},",
"gas_org_id = #{gasOrgId,jdbcType=BIGINT},",
"gas_org_name = #{gasOrgName,jdbcType=VARCHAR},",
"ext_1 = #{ext1,jdbcType=VARCHAR},",
"ext_2 = #{ext2,jdbcType=VARCHAR},",
"ext_3 = #{ext3,jdbcType=VARCHAR},",

@ -128,6 +128,26 @@ public class HighChildOrderSqlProvider {
sql.VALUES("gas_salesman_id", "#{gasSalesmanId,jdbcType=BIGINT}");
}
if (record.getGasSalesmanName() != null) {
sql.VALUES("gas_salesman_name", "#{gasSalesmanName,jdbcType=VARCHAR}");
}
if (record.getGasAgentId() != null) {
sql.VALUES("gas_agent_id", "#{gasAgentId,jdbcType=BIGINT}");
}
if (record.getGasAgentName() != null) {
sql.VALUES("gas_agent_name", "#{gasAgentName,jdbcType=VARCHAR}");
}
if (record.getGasOrgId() != null) {
sql.VALUES("gas_org_id", "#{gasOrgId,jdbcType=BIGINT}");
}
if (record.getGasOrgName() != null) {
sql.VALUES("gas_org_name", "#{gasOrgName,jdbcType=VARCHAR}");
}
if (record.getExt1() != null) {
sql.VALUES("ext_1", "#{ext1,jdbcType=VARCHAR}");
}
@ -187,6 +207,11 @@ public class HighChildOrderSqlProvider {
sql.SELECT("gas_price_gun");
sql.SELECT("gas_price_vip");
sql.SELECT("gas_salesman_id");
sql.SELECT("gas_salesman_name");
sql.SELECT("gas_agent_id");
sql.SELECT("gas_agent_name");
sql.SELECT("gas_org_id");
sql.SELECT("gas_org_name");
sql.SELECT("ext_1");
sql.SELECT("ext_2");
sql.SELECT("ext_3");
@ -314,6 +339,26 @@ public class HighChildOrderSqlProvider {
sql.SET("gas_salesman_id = #{record.gasSalesmanId,jdbcType=BIGINT}");
}
if (record.getGasSalesmanName() != null) {
sql.SET("gas_salesman_name = #{record.gasSalesmanName,jdbcType=VARCHAR}");
}
if (record.getGasAgentId() != null) {
sql.SET("gas_agent_id = #{record.gasAgentId,jdbcType=BIGINT}");
}
if (record.getGasAgentName() != null) {
sql.SET("gas_agent_name = #{record.gasAgentName,jdbcType=VARCHAR}");
}
if (record.getGasOrgId() != null) {
sql.SET("gas_org_id = #{record.gasOrgId,jdbcType=BIGINT}");
}
if (record.getGasOrgName() != null) {
sql.SET("gas_org_name = #{record.gasOrgName,jdbcType=VARCHAR}");
}
if (record.getExt1() != null) {
sql.SET("ext_1 = #{record.ext1,jdbcType=VARCHAR}");
}
@ -372,6 +417,11 @@ public class HighChildOrderSqlProvider {
sql.SET("gas_price_gun = #{record.gasPriceGun,jdbcType=DECIMAL}");
sql.SET("gas_price_vip = #{record.gasPriceVip,jdbcType=DECIMAL}");
sql.SET("gas_salesman_id = #{record.gasSalesmanId,jdbcType=BIGINT}");
sql.SET("gas_salesman_name = #{record.gasSalesmanName,jdbcType=VARCHAR}");
sql.SET("gas_agent_id = #{record.gasAgentId,jdbcType=BIGINT}");
sql.SET("gas_agent_name = #{record.gasAgentName,jdbcType=VARCHAR}");
sql.SET("gas_org_id = #{record.gasOrgId,jdbcType=BIGINT}");
sql.SET("gas_org_name = #{record.gasOrgName,jdbcType=VARCHAR}");
sql.SET("ext_1 = #{record.ext1,jdbcType=VARCHAR}");
sql.SET("ext_2 = #{record.ext2,jdbcType=VARCHAR}");
sql.SET("ext_3 = #{record.ext3,jdbcType=VARCHAR}");
@ -488,6 +538,26 @@ public class HighChildOrderSqlProvider {
sql.SET("gas_salesman_id = #{gasSalesmanId,jdbcType=BIGINT}");
}
if (record.getGasSalesmanName() != null) {
sql.SET("gas_salesman_name = #{gasSalesmanName,jdbcType=VARCHAR}");
}
if (record.getGasAgentId() != null) {
sql.SET("gas_agent_id = #{gasAgentId,jdbcType=BIGINT}");
}
if (record.getGasAgentName() != null) {
sql.SET("gas_agent_name = #{gasAgentName,jdbcType=VARCHAR}");
}
if (record.getGasOrgId() != null) {
sql.SET("gas_org_id = #{gasOrgId,jdbcType=BIGINT}");
}
if (record.getGasOrgName() != null) {
sql.SET("gas_org_name = #{gasOrgName,jdbcType=VARCHAR}");
}
if (record.getExt1() != null) {
sql.SET("ext_1 = #{ext1,jdbcType=VARCHAR}");
}

@ -1,6 +1,7 @@
package com.hai.dao;
import com.hai.model.TyAgentOilStationModel;
import com.hai.model.TyOrderModel;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
@ -51,4 +52,53 @@ public interface HighTyAgentOilStationMapperExt {
"</script>")
List<TyAgentOilStationModel> queryOilStationList(@Param("param") Map<String, Object> param);
@Select("<script>" +
" SELECT" +
" b.order_no orderNo," +
" CASE" +
" b.pay_type " +
" WHEN 1 THEN '支付' " +
" WHEN 2 THEN '微信'" +
" WHEN 3 THEN '金币'" +
" WHEN 4 THEN '汇联通'" +
" WHEN 5 THEN '银联'" +
" WHEN 6 THEN '银联'" +
" ELSE '未知' " +
" END payType," +
" b.total_price totalPrice," +
" b.deduction_price deductionPrice," +
" b.pay_real_price payRealPrice," +
" a.goods_name goodsName," +
" a.gas_oil_no gasOilNo," +
" a.gas_gun_no gasGunNo," +
" a.ext_1 platformPrice," +
" a.gas_price_gun gasPriceGun," +
" b.create_time createTime," +
" b.pay_time payTime, " +
" a.gas_org_name orgName, " +
" a.gas_agent_name agentName, " +
" a.gas_salesman_name salesmanName " +
" FROM" +
" high_child_order a," +
" high_order b," +
" high_user c" +
" WHERE" +
" a.order_id = b.id " +
" and b.mem_id = c.id" +
" AND a.goods_type = 3 " +
" <if test='param.companyId != null'> AND a.gas_salesman_id in ( select id from high_ty_salesman where ty_agent_id in (select id from high_ty_agent " +
" where org_id in (select id from bs_organization WHERE company_id = #{param.companyId} and `status` = 1) and `status` = 1) and `status` = 1) </if> " +
" <if test='param.orgId != null'> AND a.gas_salesman_id in (select id from high_ty_salesman where ty_agent_id in (select id from high_ty_agent where org_id = #{param.orgId} and `status` = 1) and `status` = 1 ) </if> " +
" <if test='param.agentId != null'> AND a.gas_salesman_id in (select id from high_ty_salesman where ty_agent_id = #{param.agentId} and status = 1) </if> " +
" <if test='param.salesmanId != null'> AND a.gas_salesman_id = #{param.salesmanId} </if> " +
" <if test='param.goodsName != null'> AND a.goods_name like concat('%',#{param.goodsName},'%') </if> " +
" <if test='param.orderNo != null'> AND b.order_no like concat('%',#{param.orderNo},'%') </if> " +
" <if test='param.orgName != null'> AND a.gas_org_name like concat('%',#{param.orgName},'%') </if> " +
" <if test='param.agentName != null'> AND a.gas_agent_name like concat('%',#{param.agentName},'%') </if> " +
" <if test='param.salesmanName != null'> AND a.gas_salesman_name like concat('%',#{param.salesmanName},'%') </if> " +
" AND a.child_orde_status IN ( 2, 3 ) " +
" ORDER BY" +
" b.pay_time DESC" +
" </script>")
List<TyOrderModel> getOrderList(@Param("param") Map<String, Object> param);
}

@ -143,6 +143,31 @@ public class HighChildOrder implements Serializable {
*/
private Long gasSalesmanId;
/**
* 加油站业务员名称
*/
private String gasSalesmanName;
/**
* 加油站代理商id
*/
private Long gasAgentId;
/**
* 加油站代理商名称
*/
private String gasAgentName;
/**
* 加油站代理公司id
*/
private Long gasOrgId;
/**
* 加油站代理公司名称
*/
private String gasOrgName;
private String ext1;
private String ext2;
@ -365,6 +390,46 @@ public class HighChildOrder implements Serializable {
this.gasSalesmanId = gasSalesmanId;
}
public String getGasSalesmanName() {
return gasSalesmanName;
}
public void setGasSalesmanName(String gasSalesmanName) {
this.gasSalesmanName = gasSalesmanName;
}
public Long getGasAgentId() {
return gasAgentId;
}
public void setGasAgentId(Long gasAgentId) {
this.gasAgentId = gasAgentId;
}
public String getGasAgentName() {
return gasAgentName;
}
public void setGasAgentName(String gasAgentName) {
this.gasAgentName = gasAgentName;
}
public Long getGasOrgId() {
return gasOrgId;
}
public void setGasOrgId(Long gasOrgId) {
this.gasOrgId = gasOrgId;
}
public String getGasOrgName() {
return gasOrgName;
}
public void setGasOrgName(String gasOrgName) {
this.gasOrgName = gasOrgName;
}
public String getExt1() {
return ext1;
}
@ -451,6 +516,11 @@ public class HighChildOrder implements Serializable {
&& (this.getGasPriceGun() == null ? other.getGasPriceGun() == null : this.getGasPriceGun().equals(other.getGasPriceGun()))
&& (this.getGasPriceVip() == null ? other.getGasPriceVip() == null : this.getGasPriceVip().equals(other.getGasPriceVip()))
&& (this.getGasSalesmanId() == null ? other.getGasSalesmanId() == null : this.getGasSalesmanId().equals(other.getGasSalesmanId()))
&& (this.getGasSalesmanName() == null ? other.getGasSalesmanName() == null : this.getGasSalesmanName().equals(other.getGasSalesmanName()))
&& (this.getGasAgentId() == null ? other.getGasAgentId() == null : this.getGasAgentId().equals(other.getGasAgentId()))
&& (this.getGasAgentName() == null ? other.getGasAgentName() == null : this.getGasAgentName().equals(other.getGasAgentName()))
&& (this.getGasOrgId() == null ? other.getGasOrgId() == null : this.getGasOrgId().equals(other.getGasOrgId()))
&& (this.getGasOrgName() == null ? other.getGasOrgName() == null : this.getGasOrgName().equals(other.getGasOrgName()))
&& (this.getExt1() == null ? other.getExt1() == null : this.getExt1().equals(other.getExt1()))
&& (this.getExt2() == null ? other.getExt2() == null : this.getExt2().equals(other.getExt2()))
&& (this.getExt3() == null ? other.getExt3() == null : this.getExt3().equals(other.getExt3()))
@ -489,6 +559,11 @@ public class HighChildOrder implements Serializable {
result = prime * result + ((getGasPriceGun() == null) ? 0 : getGasPriceGun().hashCode());
result = prime * result + ((getGasPriceVip() == null) ? 0 : getGasPriceVip().hashCode());
result = prime * result + ((getGasSalesmanId() == null) ? 0 : getGasSalesmanId().hashCode());
result = prime * result + ((getGasSalesmanName() == null) ? 0 : getGasSalesmanName().hashCode());
result = prime * result + ((getGasAgentId() == null) ? 0 : getGasAgentId().hashCode());
result = prime * result + ((getGasAgentName() == null) ? 0 : getGasAgentName().hashCode());
result = prime * result + ((getGasOrgId() == null) ? 0 : getGasOrgId().hashCode());
result = prime * result + ((getGasOrgName() == null) ? 0 : getGasOrgName().hashCode());
result = prime * result + ((getExt1() == null) ? 0 : getExt1().hashCode());
result = prime * result + ((getExt2() == null) ? 0 : getExt2().hashCode());
result = prime * result + ((getExt3() == null) ? 0 : getExt3().hashCode());
@ -530,6 +605,11 @@ public class HighChildOrder implements Serializable {
sb.append(", gasPriceGun=").append(gasPriceGun);
sb.append(", gasPriceVip=").append(gasPriceVip);
sb.append(", gasSalesmanId=").append(gasSalesmanId);
sb.append(", gasSalesmanName=").append(gasSalesmanName);
sb.append(", gasAgentId=").append(gasAgentId);
sb.append(", gasAgentName=").append(gasAgentName);
sb.append(", gasOrgId=").append(gasOrgId);
sb.append(", gasOrgName=").append(gasOrgName);
sb.append(", ext1=").append(ext1);
sb.append(", ext2=").append(ext2);
sb.append(", ext3=").append(ext3);

@ -1775,6 +1775,336 @@ public class HighChildOrderExample {
return (Criteria) this;
}
public Criteria andGasSalesmanNameIsNull() {
addCriterion("gas_salesman_name is null");
return (Criteria) this;
}
public Criteria andGasSalesmanNameIsNotNull() {
addCriterion("gas_salesman_name is not null");
return (Criteria) this;
}
public Criteria andGasSalesmanNameEqualTo(String value) {
addCriterion("gas_salesman_name =", value, "gasSalesmanName");
return (Criteria) this;
}
public Criteria andGasSalesmanNameNotEqualTo(String value) {
addCriterion("gas_salesman_name <>", value, "gasSalesmanName");
return (Criteria) this;
}
public Criteria andGasSalesmanNameGreaterThan(String value) {
addCriterion("gas_salesman_name >", value, "gasSalesmanName");
return (Criteria) this;
}
public Criteria andGasSalesmanNameGreaterThanOrEqualTo(String value) {
addCriterion("gas_salesman_name >=", value, "gasSalesmanName");
return (Criteria) this;
}
public Criteria andGasSalesmanNameLessThan(String value) {
addCriterion("gas_salesman_name <", value, "gasSalesmanName");
return (Criteria) this;
}
public Criteria andGasSalesmanNameLessThanOrEqualTo(String value) {
addCriterion("gas_salesman_name <=", value, "gasSalesmanName");
return (Criteria) this;
}
public Criteria andGasSalesmanNameLike(String value) {
addCriterion("gas_salesman_name like", value, "gasSalesmanName");
return (Criteria) this;
}
public Criteria andGasSalesmanNameNotLike(String value) {
addCriterion("gas_salesman_name not like", value, "gasSalesmanName");
return (Criteria) this;
}
public Criteria andGasSalesmanNameIn(List<String> values) {
addCriterion("gas_salesman_name in", values, "gasSalesmanName");
return (Criteria) this;
}
public Criteria andGasSalesmanNameNotIn(List<String> values) {
addCriterion("gas_salesman_name not in", values, "gasSalesmanName");
return (Criteria) this;
}
public Criteria andGasSalesmanNameBetween(String value1, String value2) {
addCriterion("gas_salesman_name between", value1, value2, "gasSalesmanName");
return (Criteria) this;
}
public Criteria andGasSalesmanNameNotBetween(String value1, String value2) {
addCriterion("gas_salesman_name not between", value1, value2, "gasSalesmanName");
return (Criteria) this;
}
public Criteria andGasAgentIdIsNull() {
addCriterion("gas_agent_id is null");
return (Criteria) this;
}
public Criteria andGasAgentIdIsNotNull() {
addCriterion("gas_agent_id is not null");
return (Criteria) this;
}
public Criteria andGasAgentIdEqualTo(Long value) {
addCriterion("gas_agent_id =", value, "gasAgentId");
return (Criteria) this;
}
public Criteria andGasAgentIdNotEqualTo(Long value) {
addCriterion("gas_agent_id <>", value, "gasAgentId");
return (Criteria) this;
}
public Criteria andGasAgentIdGreaterThan(Long value) {
addCriterion("gas_agent_id >", value, "gasAgentId");
return (Criteria) this;
}
public Criteria andGasAgentIdGreaterThanOrEqualTo(Long value) {
addCriterion("gas_agent_id >=", value, "gasAgentId");
return (Criteria) this;
}
public Criteria andGasAgentIdLessThan(Long value) {
addCriterion("gas_agent_id <", value, "gasAgentId");
return (Criteria) this;
}
public Criteria andGasAgentIdLessThanOrEqualTo(Long value) {
addCriterion("gas_agent_id <=", value, "gasAgentId");
return (Criteria) this;
}
public Criteria andGasAgentIdIn(List<Long> values) {
addCriterion("gas_agent_id in", values, "gasAgentId");
return (Criteria) this;
}
public Criteria andGasAgentIdNotIn(List<Long> values) {
addCriterion("gas_agent_id not in", values, "gasAgentId");
return (Criteria) this;
}
public Criteria andGasAgentIdBetween(Long value1, Long value2) {
addCriterion("gas_agent_id between", value1, value2, "gasAgentId");
return (Criteria) this;
}
public Criteria andGasAgentIdNotBetween(Long value1, Long value2) {
addCriterion("gas_agent_id not between", value1, value2, "gasAgentId");
return (Criteria) this;
}
public Criteria andGasAgentNameIsNull() {
addCriterion("gas_agent_name is null");
return (Criteria) this;
}
public Criteria andGasAgentNameIsNotNull() {
addCriterion("gas_agent_name is not null");
return (Criteria) this;
}
public Criteria andGasAgentNameEqualTo(String value) {
addCriterion("gas_agent_name =", value, "gasAgentName");
return (Criteria) this;
}
public Criteria andGasAgentNameNotEqualTo(String value) {
addCriterion("gas_agent_name <>", value, "gasAgentName");
return (Criteria) this;
}
public Criteria andGasAgentNameGreaterThan(String value) {
addCriterion("gas_agent_name >", value, "gasAgentName");
return (Criteria) this;
}
public Criteria andGasAgentNameGreaterThanOrEqualTo(String value) {
addCriterion("gas_agent_name >=", value, "gasAgentName");
return (Criteria) this;
}
public Criteria andGasAgentNameLessThan(String value) {
addCriterion("gas_agent_name <", value, "gasAgentName");
return (Criteria) this;
}
public Criteria andGasAgentNameLessThanOrEqualTo(String value) {
addCriterion("gas_agent_name <=", value, "gasAgentName");
return (Criteria) this;
}
public Criteria andGasAgentNameLike(String value) {
addCriterion("gas_agent_name like", value, "gasAgentName");
return (Criteria) this;
}
public Criteria andGasAgentNameNotLike(String value) {
addCriterion("gas_agent_name not like", value, "gasAgentName");
return (Criteria) this;
}
public Criteria andGasAgentNameIn(List<String> values) {
addCriterion("gas_agent_name in", values, "gasAgentName");
return (Criteria) this;
}
public Criteria andGasAgentNameNotIn(List<String> values) {
addCriterion("gas_agent_name not in", values, "gasAgentName");
return (Criteria) this;
}
public Criteria andGasAgentNameBetween(String value1, String value2) {
addCriterion("gas_agent_name between", value1, value2, "gasAgentName");
return (Criteria) this;
}
public Criteria andGasAgentNameNotBetween(String value1, String value2) {
addCriterion("gas_agent_name not between", value1, value2, "gasAgentName");
return (Criteria) this;
}
public Criteria andGasOrgIdIsNull() {
addCriterion("gas_org_id is null");
return (Criteria) this;
}
public Criteria andGasOrgIdIsNotNull() {
addCriterion("gas_org_id is not null");
return (Criteria) this;
}
public Criteria andGasOrgIdEqualTo(Long value) {
addCriterion("gas_org_id =", value, "gasOrgId");
return (Criteria) this;
}
public Criteria andGasOrgIdNotEqualTo(Long value) {
addCriterion("gas_org_id <>", value, "gasOrgId");
return (Criteria) this;
}
public Criteria andGasOrgIdGreaterThan(Long value) {
addCriterion("gas_org_id >", value, "gasOrgId");
return (Criteria) this;
}
public Criteria andGasOrgIdGreaterThanOrEqualTo(Long value) {
addCriterion("gas_org_id >=", value, "gasOrgId");
return (Criteria) this;
}
public Criteria andGasOrgIdLessThan(Long value) {
addCriterion("gas_org_id <", value, "gasOrgId");
return (Criteria) this;
}
public Criteria andGasOrgIdLessThanOrEqualTo(Long value) {
addCriterion("gas_org_id <=", value, "gasOrgId");
return (Criteria) this;
}
public Criteria andGasOrgIdIn(List<Long> values) {
addCriterion("gas_org_id in", values, "gasOrgId");
return (Criteria) this;
}
public Criteria andGasOrgIdNotIn(List<Long> values) {
addCriterion("gas_org_id not in", values, "gasOrgId");
return (Criteria) this;
}
public Criteria andGasOrgIdBetween(Long value1, Long value2) {
addCriterion("gas_org_id between", value1, value2, "gasOrgId");
return (Criteria) this;
}
public Criteria andGasOrgIdNotBetween(Long value1, Long value2) {
addCriterion("gas_org_id not between", value1, value2, "gasOrgId");
return (Criteria) this;
}
public Criteria andGasOrgNameIsNull() {
addCriterion("gas_org_name is null");
return (Criteria) this;
}
public Criteria andGasOrgNameIsNotNull() {
addCriterion("gas_org_name is not null");
return (Criteria) this;
}
public Criteria andGasOrgNameEqualTo(String value) {
addCriterion("gas_org_name =", value, "gasOrgName");
return (Criteria) this;
}
public Criteria andGasOrgNameNotEqualTo(String value) {
addCriterion("gas_org_name <>", value, "gasOrgName");
return (Criteria) this;
}
public Criteria andGasOrgNameGreaterThan(String value) {
addCriterion("gas_org_name >", value, "gasOrgName");
return (Criteria) this;
}
public Criteria andGasOrgNameGreaterThanOrEqualTo(String value) {
addCriterion("gas_org_name >=", value, "gasOrgName");
return (Criteria) this;
}
public Criteria andGasOrgNameLessThan(String value) {
addCriterion("gas_org_name <", value, "gasOrgName");
return (Criteria) this;
}
public Criteria andGasOrgNameLessThanOrEqualTo(String value) {
addCriterion("gas_org_name <=", value, "gasOrgName");
return (Criteria) this;
}
public Criteria andGasOrgNameLike(String value) {
addCriterion("gas_org_name like", value, "gasOrgName");
return (Criteria) this;
}
public Criteria andGasOrgNameNotLike(String value) {
addCriterion("gas_org_name not like", value, "gasOrgName");
return (Criteria) this;
}
public Criteria andGasOrgNameIn(List<String> values) {
addCriterion("gas_org_name in", values, "gasOrgName");
return (Criteria) this;
}
public Criteria andGasOrgNameNotIn(List<String> values) {
addCriterion("gas_org_name not in", values, "gasOrgName");
return (Criteria) this;
}
public Criteria andGasOrgNameBetween(String value1, String value2) {
addCriterion("gas_org_name between", value1, value2, "gasOrgName");
return (Criteria) this;
}
public Criteria andGasOrgNameNotBetween(String value1, String value2) {
addCriterion("gas_org_name not between", value1, value2, "gasOrgName");
return (Criteria) this;
}
public Criteria andExt1IsNull() {
addCriterion("ext_1 is null");
return (Criteria) this;

@ -175,6 +175,16 @@ public class HighOrder implements Serializable {
private HighDiscount highDiscount;
private Boolean isTyAgent;
public Boolean getIsTyAgent() {
return isTyAgent;
}
public void setIsTyAgent(Boolean tyAgent) {
isTyAgent = tyAgent;
}
public List<HighChildOrder> getHighChildOrderList() {
return highChildOrderList;
}

@ -0,0 +1,144 @@
package com.hai.model;
import java.math.BigDecimal;
import java.util.Date;
public class TyOrderModel {
private String orderNo;
private String payType;
private BigDecimal totalPrice;
private BigDecimal deductionPrice;
private BigDecimal payRealPrice;
private String goodsName;
private String gasOilNo;
private String gasGunNo;
private BigDecimal platformPrice;
private BigDecimal gasPriceGun;
private Date createTime;
private Date payTime;
private String orgName;
private String agentName;
private String salesmanName;
public String getOrgName() {
return orgName;
}
public void setOrgName(String orgName) {
this.orgName = orgName;
}
public String getAgentName() {
return agentName;
}
public void setAgentName(String agentName) {
this.agentName = agentName;
}
public String getSalesmanName() {
return salesmanName;
}
public void setSalesmanName(String salesmanName) {
this.salesmanName = salesmanName;
}
public String getOrderNo() {
return orderNo;
}
public void setOrderNo(String orderNo) {
this.orderNo = orderNo;
}
public String getPayType() {
return payType;
}
public void setPayType(String payType) {
this.payType = payType;
}
public BigDecimal getTotalPrice() {
return totalPrice;
}
public void setTotalPrice(BigDecimal totalPrice) {
this.totalPrice = totalPrice;
}
public BigDecimal getDeductionPrice() {
return deductionPrice;
}
public void setDeductionPrice(BigDecimal deductionPrice) {
this.deductionPrice = deductionPrice;
}
public BigDecimal getPayRealPrice() {
return payRealPrice;
}
public void setPayRealPrice(BigDecimal payRealPrice) {
this.payRealPrice = payRealPrice;
}
public String getGoodsName() {
return goodsName;
}
public void setGoodsName(String goodsName) {
this.goodsName = goodsName;
}
public String getGasOilNo() {
return gasOilNo;
}
public void setGasOilNo(String gasOilNo) {
this.gasOilNo = gasOilNo;
}
public String getGasGunNo() {
return gasGunNo;
}
public void setGasGunNo(String gasGunNo) {
this.gasGunNo = gasGunNo;
}
public BigDecimal getPlatformPrice() {
return platformPrice;
}
public void setPlatformPrice(BigDecimal platformPrice) {
this.platformPrice = platformPrice;
}
public BigDecimal getGasPriceGun() {
return gasPriceGun;
}
public void setGasPriceGun(BigDecimal gasPriceGun) {
this.gasPriceGun = gasPriceGun;
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public Date getPayTime() {
return payTime;
}
public void setPayTime(Date payTime) {
this.payTime = payTime;
}
}

@ -2,6 +2,7 @@ package com.hai.service;
import com.hai.entity.HighTyAgentOilStation;
import com.hai.model.TyAgentOilStationModel;
import com.hai.model.TyOrderModel;
import java.util.List;
import java.util.Map;
@ -77,4 +78,11 @@ public interface HighTyAgentOilStationService {
* @param oilStationList
*/
void unbindSalesman(List<Long> oilStationList);
/**
* 查询订单列表
* @param param
* @return
*/
List<TyOrderModel> getOrderList(Map<String, Object> param);
}

@ -6,6 +6,7 @@ import com.hai.common.exception.SysCode;
import com.hai.dao.HighTyAgentOilStationMapper;
import com.hai.entity.*;
import com.hai.model.TyAgentOilStationModel;
import com.hai.model.TyOrderModel;
import com.hai.service.*;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
@ -182,4 +183,9 @@ public class HighTyAgentOilStationServiceImpl implements HighTyAgentOilStationSe
}
}
@Override
public List<TyOrderModel> getOrderList(Map<String, Object> param) {
return tyAgentOilStationMapper.getOrderList(param);
}
}

Loading…
Cancel
Save