项目、合同、运单、预结算、正式结算、付款对接mk
This commit is contained in:
+2
-2
@@ -73,7 +73,7 @@ public final class MkProcessBizHandlers {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Object publicDetail(Long id) {
|
public Object publicDetail(Long id) {
|
||||||
return service.detail(id);
|
return service.publicDetail(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@@ -143,7 +143,7 @@ public final class MkProcessBizHandlers {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Object publicDetail(Long id) {
|
public Object publicDetail(Long id) {
|
||||||
return service.detail(id);
|
return service.publicDetail(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
+8
@@ -40,6 +40,14 @@ public interface IContractManageService extends BaseService<ContractManage> {
|
|||||||
|
|
||||||
IPage<ContractManageVO> selectContractManagePage(IPage<ContractManage> page, ContractManageVO contractManage);
|
IPage<ContractManageVO> selectContractManagePage(IPage<ContractManage> page, ContractManageVO contractManage);
|
||||||
ContractManageVO detail(Long id);
|
ContractManageVO detail(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 公开详情,不校验当前用户所属组织
|
||||||
|
*
|
||||||
|
* @param id 主键
|
||||||
|
* @return 合同详情
|
||||||
|
*/
|
||||||
|
ContractManageVO publicDetail(Long id);
|
||||||
boolean saveDraft(ContractManage contractManage);
|
boolean saveDraft(ContractManage contractManage);
|
||||||
boolean submit(ContractManage contractManage);
|
boolean submit(ContractManage contractManage);
|
||||||
boolean toTemporary(Long id);
|
boolean toTemporary(Long id);
|
||||||
|
|||||||
+8
@@ -40,6 +40,14 @@ public interface IProjectApplyService extends BaseService<ProjectApply> {
|
|||||||
|
|
||||||
IPage<ProjectApplyVO> selectProjectApplyPage(IPage<ProjectApply> page, ProjectApplyVO projectApply);
|
IPage<ProjectApplyVO> selectProjectApplyPage(IPage<ProjectApply> page, ProjectApplyVO projectApply);
|
||||||
ProjectApplyVO detail(Long id);
|
ProjectApplyVO detail(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 公开详情,不校验当前用户所属组织
|
||||||
|
*
|
||||||
|
* @param id 主键
|
||||||
|
* @return 项目立项详情
|
||||||
|
*/
|
||||||
|
ProjectApplyVO publicDetail(Long id);
|
||||||
Map<String, Integer> fundRiskStats(ProjectApplyVO projectApply);
|
Map<String, Integer> fundRiskStats(ProjectApplyVO projectApply);
|
||||||
Map<String, Object> changeRecordDetail(Long id, Integer recordIndex);
|
Map<String, Object> changeRecordDetail(Long id, Integer recordIndex);
|
||||||
boolean saveDraft(ProjectApply projectApply);
|
boolean saveDraft(ProjectApply projectApply);
|
||||||
|
|||||||
+10
@@ -28,6 +28,7 @@ import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
|||||||
import org.springblade.core.log.exception.ServiceException;
|
import org.springblade.core.log.exception.ServiceException;
|
||||||
import org.springblade.core.mp.base.BaseServiceImpl;
|
import org.springblade.core.mp.base.BaseServiceImpl;
|
||||||
import org.springblade.core.secure.utils.AuthUtil;
|
import org.springblade.core.secure.utils.AuthUtil;
|
||||||
|
import org.springblade.core.tenant.annotation.TenantIgnore;
|
||||||
import org.springblade.core.tool.jackson.JsonUtil;
|
import org.springblade.core.tool.jackson.JsonUtil;
|
||||||
import org.springblade.core.tool.utils.BeanUtil;
|
import org.springblade.core.tool.utils.BeanUtil;
|
||||||
import org.springblade.core.tool.utils.Func;
|
import org.springblade.core.tool.utils.Func;
|
||||||
@@ -97,6 +98,15 @@ public class ContractManageServiceImpl extends BaseServiceImpl<ContractManageMap
|
|||||||
return contractManageVO;
|
return contractManageVO;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@TenantIgnore
|
||||||
|
public ContractManageVO publicDetail(Long id) {
|
||||||
|
ContractManageVO contractManageVO = ContractManageWrapper.build().entityVO(loadExists(id));
|
||||||
|
normalizeOptionalIntegerFields(contractManageVO);
|
||||||
|
contractManageVO.setReadonly(true);
|
||||||
|
return contractManageVO;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Transactional(rollbackFor = Exception.class)
|
@Transactional(rollbackFor = Exception.class)
|
||||||
public boolean saveDraft(ContractManage contractManage) {
|
public boolean saveDraft(ContractManage contractManage) {
|
||||||
|
|||||||
+10
@@ -29,6 +29,7 @@ import lombok.RequiredArgsConstructor;
|
|||||||
import org.springblade.core.log.exception.ServiceException;
|
import org.springblade.core.log.exception.ServiceException;
|
||||||
import org.springblade.core.mp.base.BaseServiceImpl;
|
import org.springblade.core.mp.base.BaseServiceImpl;
|
||||||
import org.springblade.core.secure.utils.AuthUtil;
|
import org.springblade.core.secure.utils.AuthUtil;
|
||||||
|
import org.springblade.core.tenant.annotation.TenantIgnore;
|
||||||
import org.springblade.core.tool.jackson.JsonUtil;
|
import org.springblade.core.tool.jackson.JsonUtil;
|
||||||
import org.springblade.core.tool.utils.BeanUtil;
|
import org.springblade.core.tool.utils.BeanUtil;
|
||||||
import org.springblade.core.tool.utils.Func;
|
import org.springblade.core.tool.utils.Func;
|
||||||
@@ -109,6 +110,15 @@ public class ProjectApplyServiceImpl extends BaseServiceImpl<ProjectApplyMapper,
|
|||||||
return projectApplyVO;
|
return projectApplyVO;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@TenantIgnore
|
||||||
|
public ProjectApplyVO publicDetail(Long id) {
|
||||||
|
ProjectApplyVO projectApplyVO = ProjectApplyWrapper.build().entityVO(loadExists(id));
|
||||||
|
normalizeOptionalFields(projectApplyVO);
|
||||||
|
projectApplyVO.setReadonly(true);
|
||||||
|
return projectApplyVO;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Map<String, Integer> fundRiskStats(ProjectApplyVO projectApply) {
|
public Map<String, Integer> fundRiskStats(ProjectApplyVO projectApply) {
|
||||||
projectApply.setFundUseRisk(null);
|
projectApply.setFundUseRisk(null);
|
||||||
|
|||||||
Reference in New Issue
Block a user