Browse Source

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

yanym 1 year ago
parent
commit
5d4f766de2

+ 5 - 5
suishenbang-api/src/main/java/com/dgtly/api/controller/SysUserController.java

@@ -180,13 +180,13 @@ public class SysUserController extends ApiBaseController {
     public Map searchProductParamByCustomerCode() {
         ParameterObject obj =  getParameterObject();
         OrderSalesParameter salesManager =new OrderSalesParameter();
-        String parType = obj.getString("payType");
-        String parValue = obj.getString("payValue");
-        if("".equals(parType) ||parType ==null){
+        String payType = obj.getString("parType");
+        String payValue = obj.getString("parValue");
+        if("".equals(payType) ||payType ==null){
             salesManager.setParType("diy_level");
         }else{
-            salesManager.setParType(parType);
-            salesManager.setParValue(parValue);
+            salesManager.setParType(payType);
+            salesManager.setParValue(payValue);
         }
         Map map = new HashMap();
         List<Map<String,Object>> dataList = alertConfigurationService.searchProductParamByCustomerCode(