Przeglądaj źródła

修改文件名称

jk-GitHub-coder 4 lat temu
rodzic
commit
d54b90e749

+ 5 - 3
YijiaRestful/src/main/java/com/platform/yijia/controller/IntegralOrderController.java → YijiaRestful/src/main/java/com/platform/yijia/controller/IntegralShoppingMallController.java

@@ -20,15 +20,15 @@ import java.util.Map;
 import java.util.Random;
 
 /*
- * <Title> IntegralOrderController </Title>
+ * <Title> IntegralShoppingMallController </Title>
  * <Description> 油站积分商城 </Description>
  * @Author JK
  * @Date 2021年2月24日
  */
 @Controller
 @RequestMapping("/api")
-public class IntegralOrderController {
-    private static Logger logger =(Logger) LoggerFactory.getLogger(IntegralOrderController.class);
+public class IntegralShoppingMallController {
+    private static Logger logger =(Logger) LoggerFactory.getLogger(IntegralShoppingMallController.class);
     @Resource
     private IntegralWaresService integralWaresService;
     @Resource
@@ -154,4 +154,6 @@ public class IntegralOrderController {
         return gson.toJson(resultData);
     }
 
+    //获取客户积分
+
 }

+ 3 - 0
YijiaRestful/src/main/resources/mapper/IntegralWaresMapper.xml

@@ -38,6 +38,9 @@
       <if test="stationId !=null and stationId !=''">
         AND station_id = #{stationId}
       </if>
+      <if test="id !=null and id !=''">
+        AND id = #{id}
+      </if>
     </where>
   </select>