采购合同变更数据
This commit is contained in:
@ -83,25 +83,8 @@ public class PersonalHomeController extends BaseController {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 查询实用工具列表
|
|
||||||
*/
|
|
||||||
// @SaCheckPermission("bigscreen:sygj:list")
|
|
||||||
@GetMapping("/listsygj")
|
|
||||||
public TableDataInfo<BusSygjVo> listsygj(BusSygjBo bo, PageQuery pageQuery) {
|
|
||||||
return busSygjService.queryPageList(bo, pageQuery);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 查询文件中心列表
|
|
||||||
*/
|
|
||||||
// @SaCheckPermission("bigscreen:wjzx:list")
|
|
||||||
@GetMapping("/listBywjzx")
|
|
||||||
public TableDataInfo<BusWjzxVo> listBywjzx(BusWjzxBo bo, PageQuery pageQuery) {
|
|
||||||
return busWjzxService.queryPageList(bo, pageQuery);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private IPdMasterService pdMasterService;
|
private IPdMasterService pdMasterService;
|
||||||
@ -185,25 +168,8 @@ public class PersonalHomeController extends BaseController {
|
|||||||
|
|
||||||
// endregion
|
// endregion
|
||||||
|
|
||||||
/**
|
|
||||||
* 查询派单列表
|
|
||||||
*/
|
|
||||||
// @SaCheckPermission("patch:master:list")
|
|
||||||
@GetMapping("/listPd")
|
|
||||||
public PdMasterBymiAndQt listPd(PdMasterBo bo, PageQuery pageQuery) {
|
|
||||||
return pdMasterService.queryPageListBy(bo, pageQuery);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 查询备忘录列表
|
|
||||||
*/
|
|
||||||
@SaCheckPermission("bwl:bwl:list")
|
|
||||||
@GetMapping("/listbwl")
|
|
||||||
public TableDataInfo<BusBwlVo> listbwl(BusBwlBo bo, PageQuery pageQuery) {
|
|
||||||
return busBwlService.queryPageListbwl(bo, pageQuery);
|
|
||||||
}
|
|
||||||
|
|
||||||
@GetMapping("/getTaskList")
|
@GetMapping("/getTaskList")
|
||||||
public R<TaskInfoDto> getTaskList(String projectId) {
|
public R<TaskInfoDto> getTaskList(String projectId) {
|
||||||
TaskInfoDto taskInfoDto = new TaskInfoDto();
|
TaskInfoDto taskInfoDto = new TaskInfoDto();
|
||||||
@ -284,4 +250,44 @@ public class PersonalHomeController extends BaseController {
|
|||||||
return map;
|
return map;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询实用工具列表
|
||||||
|
*/
|
||||||
|
// @SaCheckPermission("bigscreen:sygj:list")
|
||||||
|
@GetMapping("/listsygj")
|
||||||
|
public TableDataInfo<BusSygjVo> listsygj(BusSygjBo bo, PageQuery pageQuery) {
|
||||||
|
return busSygjService.queryPageList(bo, pageQuery);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询文件中心列表
|
||||||
|
*/
|
||||||
|
// @SaCheckPermission("bigscreen:wjzx:list")
|
||||||
|
@GetMapping("/listBywjzx")
|
||||||
|
public TableDataInfo<BusWjzxVo> listBywjzx(BusWjzxBo bo, PageQuery pageQuery) {
|
||||||
|
return busWjzxService.queryPageList(bo, pageQuery);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询派单列表
|
||||||
|
*/
|
||||||
|
// @SaCheckPermission("patch:master:list")
|
||||||
|
@GetMapping("/listPd")
|
||||||
|
public PdMasterBymiAndQt listPd(PdMasterBo bo, PageQuery pageQuery) {
|
||||||
|
return pdMasterService.queryPageListBy(bo, pageQuery);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询备忘录列表
|
||||||
|
*/
|
||||||
|
// @SaCheckPermission("bwl:bwl:list")
|
||||||
|
@GetMapping("/listbwl")
|
||||||
|
public TableDataInfo<BusBwlVo> listbwl(BusBwlBo bo, PageQuery pageQuery) {
|
||||||
|
return busBwlService.queryPageList(bo, pageQuery);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -86,6 +86,7 @@ public class BusBwlServiceImpl extends ServiceImpl<BusBwlMapper, BusBwl> impleme
|
|||||||
lqw.eq(StringUtils.isNotBlank(bo.getTitle()), BusBwl::getTitle, bo.getTitle());
|
lqw.eq(StringUtils.isNotBlank(bo.getTitle()), BusBwl::getTitle, bo.getTitle());
|
||||||
lqw.eq(StringUtils.isNotBlank(bo.getContent()), BusBwl::getContent, bo.getContent());
|
lqw.eq(StringUtils.isNotBlank(bo.getContent()), BusBwl::getContent, bo.getContent());
|
||||||
lqw.eq(bo.getStatus() != null, BusBwl::getStatus, bo.getStatus());
|
lqw.eq(bo.getStatus() != null, BusBwl::getStatus, bo.getStatus());
|
||||||
|
lqw.eq(bo.getCreateBy() != null, BusBwl::getCreateBy, bo.getCreateBy());
|
||||||
lqw.eq(bo.getJhkssj() != null, BusBwl::getJhkssj, bo.getJhkssj());
|
lqw.eq(bo.getJhkssj() != null, BusBwl::getJhkssj, bo.getJhkssj());
|
||||||
lqw.eq(bo.getJhjssj() != null, BusBwl::getJhjssj, bo.getJhjssj());
|
lqw.eq(bo.getJhjssj() != null, BusBwl::getJhjssj, bo.getJhjssj());
|
||||||
return lqw;
|
return lqw;
|
||||||
|
|||||||
@ -1,7 +1,12 @@
|
|||||||
package org.dromara.bigscreen.service.impl;
|
package org.dromara.bigscreen.service.impl;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
import org.dromara.bigscreen.domain.BusWjzx;
|
||||||
import org.dromara.bigscreen.domain.dto.BusSygjBo;
|
import org.dromara.bigscreen.domain.dto.BusSygjBo;
|
||||||
|
import org.dromara.common.core.domain.event.ProcessDeleteEvent;
|
||||||
|
import org.dromara.common.core.domain.event.ProcessEvent;
|
||||||
|
import org.dromara.common.core.domain.event.ProcessTaskEvent;
|
||||||
import org.dromara.common.core.utils.MapstructUtils;
|
import org.dromara.common.core.utils.MapstructUtils;
|
||||||
import org.dromara.common.core.utils.StringUtils;
|
import org.dromara.common.core.utils.StringUtils;
|
||||||
import org.dromara.common.mybatis.core.page.TableDataInfo;
|
import org.dromara.common.mybatis.core.page.TableDataInfo;
|
||||||
@ -10,6 +15,7 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|||||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||||
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
||||||
import lombok.RequiredArgsConstructor;
|
import lombok.RequiredArgsConstructor;
|
||||||
|
import org.springframework.context.event.EventListener;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
import org.dromara.bigscreen.domain.vo.BusSygjVo;
|
import org.dromara.bigscreen.domain.vo.BusSygjVo;
|
||||||
import org.dromara.bigscreen.domain.BusSygj;
|
import org.dromara.bigscreen.domain.BusSygj;
|
||||||
@ -28,6 +34,7 @@ import java.util.Collection;
|
|||||||
*/
|
*/
|
||||||
@RequiredArgsConstructor
|
@RequiredArgsConstructor
|
||||||
@Service
|
@Service
|
||||||
|
@Slf4j
|
||||||
public class BusSygjServiceImpl extends ServiceImpl<BusSygjMapper, BusSygj> implements IBusSygjService {
|
public class BusSygjServiceImpl extends ServiceImpl<BusSygjMapper, BusSygj> implements IBusSygjService {
|
||||||
|
|
||||||
private final BusSygjMapper baseMapper;
|
private final BusSygjMapper baseMapper;
|
||||||
@ -133,4 +140,56 @@ public class BusSygjServiceImpl extends ServiceImpl<BusSygjMapper, BusSygj> impl
|
|||||||
}
|
}
|
||||||
return baseMapper.deleteByIds(ids) > 0;
|
return baseMapper.deleteByIds(ids) > 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 总体流程监听(例如: 草稿,撤销,退回,作废,终止,已完成,单任务完成等)
|
||||||
|
* 正常使用只需#processEvent.flowCode=='leave1'
|
||||||
|
* 示例为了方便则使用startsWith匹配了全部示例key
|
||||||
|
*
|
||||||
|
* @param processEvent 参数
|
||||||
|
*/
|
||||||
|
@EventListener(condition = "#processEvent.flowCode.endsWith('grsygj')")
|
||||||
|
public void processPlansHandlErequipmentList(ProcessEvent processEvent) {
|
||||||
|
log.info("文件中心审核任务执行了{}", processEvent.toString());
|
||||||
|
String id = processEvent.getBusinessId();
|
||||||
|
BusSygj vo = baseMapper.selectById(Long.valueOf(id));
|
||||||
|
if (vo == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
vo.setAuditStatus(processEvent.getStatus());
|
||||||
|
this.updateById(vo);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 执行任务创建监听
|
||||||
|
* 示例:也可通过 @EventListener(condition = "#processTaskEvent.flowCode=='leave1'")进行判断
|
||||||
|
* 在方法中判断流程节点key
|
||||||
|
* if ("xxx".equals(processTaskEvent.getNodeCode())) {
|
||||||
|
* //执行业务逻辑
|
||||||
|
* }
|
||||||
|
*
|
||||||
|
* @param processTaskEvent 参数
|
||||||
|
*/
|
||||||
|
@EventListener(condition = "#processTaskEvent.flowCode.endsWith('grsygj')")
|
||||||
|
public void processTaskPlansHandlerEquipmentList(ProcessTaskEvent processTaskEvent) {
|
||||||
|
log.info("文件中心审核任务创建了{}", processTaskEvent.toString());
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 监听删除流程事件
|
||||||
|
* 正常使用只需#processDeleteEvent.flowCode=='leave1'
|
||||||
|
* 示例为了方便则使用startsWith匹配了全部示例key
|
||||||
|
*
|
||||||
|
* @param processDeleteEvent 参数
|
||||||
|
*/
|
||||||
|
@EventListener(condition = "#processDeleteEvent.flowCode.endsWith('grsygj')")
|
||||||
|
public void processDeletePlansHandlerEquipmentList(ProcessDeleteEvent processDeleteEvent) {
|
||||||
|
log.info("文件中心删除流程事件,文件中心审核任务执行了{}", processDeleteEvent.toString());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -93,6 +93,13 @@ public class XzdPostBidAnalysisVo implements Serializable {
|
|||||||
@ExcelProperty(value = "建设单位")
|
@ExcelProperty(value = "建设单位")
|
||||||
private String constructionUnit;
|
private String constructionUnit;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 建设单位
|
||||||
|
*/
|
||||||
|
@ExcelProperty(value = "建设单位")
|
||||||
|
@Translation(type = TransConstant.XZD_KHXX_ID_TO_NAME, mapper = "constructionUnit")
|
||||||
|
private String constructionUnitName;
|
||||||
/**
|
/**
|
||||||
* 开标日期
|
* 开标日期
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user