Blame view

parking-module-pay/src/main/java/com/zteits/pay/biz/ParkLotTempInfoServiceImpl.java 1.36 KB
55f68655   王彪总   新项目
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
  package com.zteits.pay.biz;
  
  import com.zteits.clouds.api.apibase.bean.BizResult;
  import com.zteits.clouds.api.dto.pay.ParkLotTempInfoTruncateReq;
  import com.zteits.clouds.api.dto.pay.param.ParkLotTempInfoBatchSaveReq;
  import com.zteits.clouds.api.service.pay.ParkLotTempInfoService;
  import com.zteits.pay.dao.ParkLotTempInfoDao;
  import org.springframework.beans.factory.annotation.Autowired;
  import org.springframework.stereotype.Service;
  
  /**
   * Copyright: Copyright (c) 2017  zteits
   *
   * @ClassName: com.zteits.pay.biz
   * @Description:
   * @version: v1.0.0
   * @author: atao
   * @date: 2017/10/14   下午1:16
   * Modification History:
   * Date         Author          Version      Description
   * ---------------------------------------------------------*
   * 2017/10/14      atao          v1.0.0          创建
   */
  @Service
  public class ParkLotTempInfoServiceImpl implements ParkLotTempInfoService {
  
      @Autowired
      private ParkLotTempInfoDao parkLotTempInfoDao;
      @Override
      public BizResult<Integer> batchSaveParkLotTempInfo(ParkLotTempInfoBatchSaveReq req) {
          Integer num =  parkLotTempInfoDao.batchSaveParkLotTempInfo(req);
          return new BizResult<>(num);
      }
  
      @Override
      public BizResult<Boolean> truncateParkLotTempInfo(ParkLotTempInfoTruncateReq req) {
          parkLotTempInfoDao.truncateParkLotTempInfo();
          return new BizResult<>(true);
      }
  }