|
@@ -14,6 +14,7 @@ import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
|
import com.rongwei.bsentity.domain.ZhcxProjectManageDo;
|
|
|
import com.rongwei.bsentity.domain.ZhcxProjectManageRectifyBatchDo;
|
|
|
import com.rongwei.bsentity.dto.luckysheet.CoverageUpdateJsonDataRequest;
|
|
|
+import com.rongwei.bsentity.dto.luckysheet.UpdateFilterSelectRequest;
|
|
|
import com.rongwei.bsentity.dto.project.ProjectSummaryParamExcelDto;
|
|
|
import com.rongwei.bsentity.dto.project.UpdateDataVerificationRequest;
|
|
|
import com.rongwei.rwcommon.base.exception.CustomException;
|
|
@@ -95,6 +96,26 @@ public class LuckysheetServiceImpl extends ServiceImpl<LuckysheetDao, Luckysheet
|
|
|
luckySheetService.updateJsonData(updateReq);
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 修改筛选
|
|
|
+ *
|
|
|
+ * @param req
|
|
|
+ */
|
|
|
+ @Override
|
|
|
+ public void updateFilterSelect(UpdateFilterSelectRequest req) {
|
|
|
+ JSONObject whereObj = new JSONObject();
|
|
|
+ whereObj.put("list_id", req.getListId());
|
|
|
+ whereObj.put("block_id", "fblock");
|
|
|
+ whereObj.put("index", 1);
|
|
|
+
|
|
|
+ CoverageUpdateJsonDataRequest updateReq = CoverageUpdateJsonDataRequest.builder()
|
|
|
+ .key("filter_select")
|
|
|
+ .value(req.getFilterSelect())
|
|
|
+ .andWhereObj(whereObj)
|
|
|
+ .build();
|
|
|
+ luckySheetService.updateJsonData(updateReq);
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 组装
|
|
|
*
|