Package net.risesoft.service.impl
Class ExtendedContentServiceImpl
- java.lang.Object
-
- net.risesoft.service.impl.ExtendedContentServiceImpl
-
- All Implemented Interfaces:
ExtendedContentService
@Service @Transactional(value="rsTenantTransactionManager", readOnly=true) public class ExtendedContentServiceImpl extends Object implements ExtendedContentService- Author:
- qinman, zhangchongjie
- Date:
- 2022/12/20
-
-
Constructor Summary
Constructors Constructor Description ExtendedContentServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcountByProcessSerialNumberAndUserIdAndCategory(String processSerialNumber, String userid, String category)Description: 根据人员统计intcountByProcSerialNumberAndCategory(String processSerialNumber, String category)Description: 根据processSerialNumber获取统计intcountByTaskIdAndCategory(String taskId, String category)Description: 根据taskId获取统计net.risesoft.pojo.Y9Result<Object>delete(String id)删除内容ExtendedContentfindById(String id)根据id获取内容IntegergetCountPersonal(String processSerialNumber, String category, String personId)根据人员id,流程编号统计当前类型的内容数IntegergetCountPersonal(String processSerialNumber, String taskId, String category, String personId)根据人员id统计当前任务,当前类型的内容数ExtendedContentgetNewConentByProcessSerialNumber(String processSerialNumber, String category)获取最新填写的内容ExtendedContentgetResultByUserIdAndCategory(String processSerialNumber, String userid, String category)根据人员Id和流程编号获取办理信息List<Map<String,Object>>listContents(String processSerialNumber, String taskId, String itembox, String category)获取内容列表org.springframework.ui.ModelnewOrModifyContent(String processSerialNumber, String taskId, String category, String id, org.springframework.ui.Model model)新增或编辑内容net.risesoft.pojo.Y9Result<Object>saveOrUpdate(ExtendedContent content)保存内容voidupdate(String processSerialNumber, String taskId)更新内容
-
-
-
Method Detail
-
countByProcSerialNumberAndCategory
public int countByProcSerialNumberAndCategory(String processSerialNumber, String category)
Description copied from interface:ExtendedContentServiceDescription: 根据processSerialNumber获取统计- Specified by:
countByProcSerialNumberAndCategoryin interfaceExtendedContentService- Returns:
-
countByProcessSerialNumberAndUserIdAndCategory
public int countByProcessSerialNumberAndUserIdAndCategory(String processSerialNumber, String userid, String category)
Description copied from interface:ExtendedContentServiceDescription: 根据人员统计- Specified by:
countByProcessSerialNumberAndUserIdAndCategoryin interfaceExtendedContentService- Returns:
-
countByTaskIdAndCategory
public int countByTaskIdAndCategory(String taskId, String category)
Description copied from interface:ExtendedContentServiceDescription: 根据taskId获取统计- Specified by:
countByTaskIdAndCategoryin interfaceExtendedContentService- Returns:
-
delete
@Transactional public net.risesoft.pojo.Y9Result<Object> delete(String id)
Description copied from interface:ExtendedContentService删除内容- Specified by:
deletein interfaceExtendedContentService- Returns:
-
findById
public ExtendedContent findById(String id)
Description copied from interface:ExtendedContentService根据id获取内容- Specified by:
findByIdin interfaceExtendedContentService- Returns:
-
getCountPersonal
public Integer getCountPersonal(String processSerialNumber, String category, String personId)
Description copied from interface:ExtendedContentService根据人员id,流程编号统计当前类型的内容数- Specified by:
getCountPersonalin interfaceExtendedContentService- Returns:
-
getCountPersonal
public Integer getCountPersonal(String processSerialNumber, String taskId, String category, String personId)
Description copied from interface:ExtendedContentService根据人员id统计当前任务,当前类型的内容数- Specified by:
getCountPersonalin interfaceExtendedContentService- Returns:
-
getNewConentByProcessSerialNumber
public ExtendedContent getNewConentByProcessSerialNumber(String processSerialNumber, String category)
Description copied from interface:ExtendedContentService获取最新填写的内容- Specified by:
getNewConentByProcessSerialNumberin interfaceExtendedContentService- Returns:
-
getResultByUserIdAndCategory
public ExtendedContent getResultByUserIdAndCategory(String processSerialNumber, String userid, String category)
Description copied from interface:ExtendedContentService根据人员Id和流程编号获取办理信息- Specified by:
getResultByUserIdAndCategoryin interfaceExtendedContentService- Returns:
-
listContents
public List<Map<String,Object>> listContents(String processSerialNumber, String taskId, String itembox, String category)
Description copied from interface:ExtendedContentService获取内容列表- Specified by:
listContentsin interfaceExtendedContentService- Returns:
-
newOrModifyContent
@Transactional public org.springframework.ui.Model newOrModifyContent(String processSerialNumber, String taskId, String category, String id, org.springframework.ui.Model model)
Description copied from interface:ExtendedContentService新增或编辑内容- Specified by:
newOrModifyContentin interfaceExtendedContentService- Returns:
-
saveOrUpdate
@Transactional public net.risesoft.pojo.Y9Result<Object> saveOrUpdate(ExtendedContent content)
Description copied from interface:ExtendedContentService保存内容- Specified by:
saveOrUpdatein interfaceExtendedContentService- Returns:
-
update
@Transactional public void update(String processSerialNumber, String taskId)
Description copied from interface:ExtendedContentService更新内容- Specified by:
updatein interfaceExtendedContentService
-
-