|
|
@@ -1,26 +1,16 @@
|
|
1
|
1
|
package com.chinaitop.depot.device.controller;
|
|
2
|
2
|
|
|
3
|
3
|
|
|
4
|
|
-import com.chinaitop.depot.device.model.BusinessImAsset;
|
|
5
|
4
|
import com.chinaitop.depot.device.model.BusinessImPurchaseSale;
|
|
6
|
|
-import com.chinaitop.depot.device.model.param.BusinessImPurchaseSaleAddParam;
|
|
7
|
|
-import com.chinaitop.depot.device.model.param.BusinessImPurchaseSaleEditParam;
|
|
8
|
5
|
import com.chinaitop.depot.device.model.param.BusinessImPurchaseSalePageParam;
|
|
9
|
6
|
import com.chinaitop.depot.device.service.BusinessImPurchaseSaleService;
|
|
10
|
|
-import com.fasterxml.jackson.databind.ObjectMapper;
|
|
11
|
|
-import com.github.pagehelper.Page;
|
|
12
|
7
|
import com.github.pagehelper.PageInfo;
|
|
13
|
8
|
import io.swagger.annotations.Api;
|
|
14
|
|
-import io.swagger.annotations.ApiImplicitParam;
|
|
15
|
|
-import io.swagger.annotations.ApiImplicitParams;
|
|
16
|
9
|
import io.swagger.annotations.ApiOperation;
|
|
17
|
10
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
18
|
|
-import org.springframework.http.MediaType;
|
|
19
|
11
|
import org.springframework.http.ResponseEntity;
|
|
20
|
|
-import org.springframework.validation.annotation.Validated;
|
|
21
|
12
|
import org.springframework.web.bind.annotation.*;
|
|
22
|
13
|
|
|
23
|
|
-import java.io.IOException;
|
|
24
|
14
|
import java.util.HashMap;
|
|
25
|
15
|
import java.util.Map;
|
|
26
|
16
|
|