|
|
|
@ -16,46 +16,19 @@
|
|
|
|
|
*/ |
|
|
|
|
package com.logpm.basicdata.controller; |
|
|
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
|
|
|
|
import com.baomidou.mybatisplus.core.toolkit.ObjectUtils; |
|
|
|
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
|
|
|
|
import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; |
|
|
|
|
import com.logpm.basicdata.entity.BasicdataClientEntity; |
|
|
|
|
import com.logpm.basicdata.entity.BasicdataClientLogEntity; |
|
|
|
|
import com.logpm.basicdata.entity.BasicdataStoreBusinessEntity; |
|
|
|
|
import com.logpm.basicdata.entity.BasicdataStoreContactEntity; |
|
|
|
|
import com.logpm.basicdata.excel.BasicDataClienImporter; |
|
|
|
|
import com.logpm.basicdata.excel.BasicdataClientExcel; |
|
|
|
|
import com.logpm.basicdata.service.IBasicdataClientLogService; |
|
|
|
|
import com.logpm.basicdata.service.IBasicdataClientService; |
|
|
|
|
import com.logpm.basicdata.service.IBasicdataStoreBusinessService; |
|
|
|
|
import com.logpm.basicdata.service.IBasicdataStoreContactService; |
|
|
|
|
import com.logpm.basicdata.vo.BasicdataClientVO; |
|
|
|
|
import io.swagger.annotations.Api; |
|
|
|
|
import io.swagger.annotations.ApiOperation; |
|
|
|
|
import io.swagger.annotations.ApiParam; |
|
|
|
|
import lombok.AllArgsConstructor; |
|
|
|
|
import org.springblade.core.boot.ctrl.BladeController; |
|
|
|
|
import org.springblade.core.excel.util.ExcelUtil; |
|
|
|
|
import org.springblade.core.mp.support.Condition; |
|
|
|
|
import org.springblade.core.mp.support.Query; |
|
|
|
|
import org.springblade.core.secure.BladeUser; |
|
|
|
|
import org.springblade.core.tool.api.R; |
|
|
|
|
import org.springblade.core.tool.constant.BladeConstant; |
|
|
|
|
import org.springblade.core.tool.utils.DateUtil; |
|
|
|
|
import org.springblade.core.tool.utils.Func; |
|
|
|
|
import org.springblade.system.feign.IUserClient; |
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
|
import org.springframework.web.multipart.MultipartFile; |
|
|
|
|
import springfox.documentation.annotations.ApiIgnore; |
|
|
|
|
|
|
|
|
|
import javax.servlet.http.HttpServletResponse; |
|
|
|
|
import javax.validation.Valid; |
|
|
|
|
import java.security.NoSuchAlgorithmException; |
|
|
|
|
import java.util.List; |
|
|
|
|
import java.util.Map; |
|
|
|
|
import javax.annotation.Resource; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 基础客户表 控制器 |
|
|
|
@ -64,17 +37,17 @@ import java.util.Map;
|
|
|
|
|
* @since 2023-05-16 |
|
|
|
|
*/ |
|
|
|
|
@RestController |
|
|
|
|
@AllArgsConstructor |
|
|
|
|
@RequestMapping("/clientLog") |
|
|
|
|
@Api(value = "基础客户表", tags = "基础客户表接口") |
|
|
|
|
public class BasicdataClientLogController extends BladeController { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Autowired |
|
|
|
|
private IBasicdataClientLogService basicdataClientLogService; |
|
|
|
|
private final IBasicdataClientLogService basicdataClientLogService; |
|
|
|
|
|
|
|
|
|
@GetMapping("/list") |
|
|
|
|
@ApiOperationSupport(order = 6) |
|
|
|
|
private R list(@RequestParam Long clientId){ |
|
|
|
|
public R list(@RequestParam Long clientId) { |
|
|
|
|
return R.data(basicdataClientLogService.list(Wrappers.<BasicdataClientLogEntity>query().lambda() |
|
|
|
|
.eq(BasicdataClientLogEntity::getClientId, clientId) |
|
|
|
|
) |
|
|
|
@ -82,5 +55,4 @@ public class BasicdataClientLogController extends BladeController {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|