|
|
@@ -6,6 +6,7 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
|
import com.kxs.common.core.util.R;
|
|
|
import com.kxs.common.idempotent.annotation.Idempotent;
|
|
|
import com.kxs.product.api.model.KxsGdReport;
|
|
|
+import com.kxs.product.biz.constant.enums.GdReportEnum;
|
|
|
import com.kxs.product.biz.service.KxsGdReportService;
|
|
|
import lombok.RequiredArgsConstructor;
|
|
|
import org.springframework.security.access.prepost.PreAuthorize;
|
|
|
@@ -40,6 +41,7 @@ public class SysGdController {
|
|
|
public R page(Page<KxsGdReport> page, KxsGdReport param) {
|
|
|
return R.ok(kxsGdReportService.page(page,
|
|
|
Wrappers.<KxsGdReport>lambdaQuery().eq(StrUtil.isNotBlank(param.getGdSn()),KxsGdReport::getGdSn, param.getGdSn())
|
|
|
+ .eq(KxsGdReport::getStatus, GdReportEnum.REPORT)
|
|
|
.eq(StrUtil.isNotBlank(param.getGdMobile()),KxsGdReport::getGdMobile, param.getGdMobile())
|
|
|
.eq(StrUtil.isNotBlank(param.getUserCode()),KxsGdReport::getUserCode, param.getUserCode())
|
|
|
.eq(param.getIsCheck() != null, KxsGdReport::getIsCheck, param.getIsCheck())
|