|
|
@ -7,6 +7,7 @@ import com.epmet.service.IcEnterpriseChangeRecordService; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
|
|
|
|
import java.util.HashMap; |
|
|
|
import java.util.Map; |
|
|
|
|
|
|
|
|
|
|
@ -35,4 +36,12 @@ public class IcEnterpriseChangeRecordController { |
|
|
|
return new Result<IcEnterpriseChangeRecordDTO>().ok(data); |
|
|
|
} |
|
|
|
|
|
|
|
@RequestMapping("history/{originId}") |
|
|
|
public Result<PageData<IcEnterpriseChangeRecordDTO>> page(@PathVariable("originId") String originId) { |
|
|
|
Map<String, Object> params = new HashMap<>(); |
|
|
|
params.put("originId", originId); |
|
|
|
PageData<IcEnterpriseChangeRecordDTO> page = icEnterpriseChangeRecordService.page(params); |
|
|
|
return new Result<PageData<IcEnterpriseChangeRecordDTO>>().ok(page); |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|