Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
Y
yn-health-science
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
徐俊
yn-health-science
Commits
56e8b0d9
Commit
56e8b0d9
authored
Dec 31, 2024
by
wangxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
ee25ce52
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
29 additions
and
121 deletions
+29
-121
ComProjectTaskDTO.java
...java/com/yiboshi/science/param/dto/ComProjectTaskDTO.java
+3
-0
ComProjectController.java
...ava/com/yiboshi/science/rest/v1/ComProjectController.java
+0
-9
ComProjectTaskController.java
...com/yiboshi/science/rest/v1/ComProjectTaskController.java
+4
-4
ComProjectService.java
...n/java/com/yiboshi/science/service/ComProjectService.java
+1
-9
ComProjectServiceImpl.java
...m/yiboshi/science/service/impl/ComProjectServiceImpl.java
+20
-98
ComProjectTaskDAO.xml
...nce-admin/src/main/resources/mapper/ComProjectTaskDAO.xml
+1
-1
No files found.
science-admin/src/main/java/com/yiboshi/science/param/dto/ComProjectTaskDTO.java
View file @
56e8b0d9
...
@@ -41,6 +41,9 @@ public class ComProjectTaskDTO extends BaseDTO {
...
@@ -41,6 +41,9 @@ public class ComProjectTaskDTO extends BaseDTO {
@JsonFormat
(
timezone
=
"GMT+8"
,
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@JsonFormat
(
timezone
=
"GMT+8"
,
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
private
Date
endDate
;
private
Date
endDate
;
/** 合同书状态 0 未 填,-10 起 草, 10 待提交,20 审核中,30 返回修改,40 审核不通过, 50 审核通过*/
private
String
taskStateName
;
/** 项目名称 */
/** 项目名称 */
@ApiModelProperty
(
value
=
"项目名称"
,
position
=
1
)
@ApiModelProperty
(
value
=
"项目名称"
,
position
=
1
)
private
String
projName
;
private
String
projName
;
...
...
science-admin/src/main/java/com/yiboshi/science/rest/v1/ComProjectController.java
View file @
56e8b0d9
...
@@ -143,15 +143,6 @@ public class ComProjectController extends BaseController<ComProjectService, ComP
...
@@ -143,15 +143,6 @@ public class ComProjectController extends BaseController<ComProjectService, ComP
return
ResponseDataModel
.
ok
(
comProjectService
.
save
(
comProjectDTO
));
return
ResponseDataModel
.
ok
(
comProjectService
.
save
(
comProjectDTO
));
}
}
@ApiOperation
(
value
=
"分步保存项目信息"
,
httpMethod
=
"POST"
,
notes
=
"分步保存项目信息"
)
@PostMapping
@RequestMapping
(
"/saveByStep"
)
@PreAuthorize
(
"hasAnyRole('REPORT','GOV','ADMIN')"
)
@Logs
(
value
=
CommonEnum
.
logType
.
projectSave
)
public
ResponseDataModel
<
String
>
saveByStep
(
@RequestBody
ComProjectDTO
comProjectDTO
,
BindingResult
bindingResult
)
{
return
ResponseDataModel
.
ok
(
comProjectService
.
saveByStep
(
comProjectDTO
));
}
/**
/**
* 保存项目信息
* 保存项目信息
*
*
...
...
science-admin/src/main/java/com/yiboshi/science/rest/v1/ComProjectTaskController.java
View file @
56e8b0d9
...
@@ -59,7 +59,7 @@ public class ComProjectTaskController extends BaseController<ComProjectTaskServi
...
@@ -59,7 +59,7 @@ public class ComProjectTaskController extends BaseController<ComProjectTaskServi
Pagination
<
ComProjectTaskDTO
>
page
=
ComProjectTaskService
.
getListByPage
(
vo
);
Pagination
<
ComProjectTaskDTO
>
page
=
ComProjectTaskService
.
getListByPage
(
vo
);
if
(
null
!=
page
&&
null
!=
page
.
getDataList
()
&&
page
.
getDataList
().
size
()
!=
0
)
{
if
(
null
!=
page
&&
null
!=
page
.
getDataList
()
&&
page
.
getDataList
().
size
()
!=
0
)
{
page
.
getDataList
().
forEach
((
e
)
->
{
page
.
getDataList
().
forEach
((
e
)
->
{
e
.
setTaskStateName
(
CommonEnum
.
projState
.
getEnum
(
e
.
getTaskState
()).
getDescription
());
});
});
}
}
return
ResponseDataModel
.
ok
(
page
);
return
ResponseDataModel
.
ok
(
page
);
...
@@ -71,10 +71,10 @@ public class ComProjectTaskController extends BaseController<ComProjectTaskServi
...
@@ -71,10 +71,10 @@ public class ComProjectTaskController extends BaseController<ComProjectTaskServi
@ApiOperation
(
value
=
"获取统计数据"
,
httpMethod
=
"GET"
,
notes
=
"获取统计数据"
)
@ApiOperation
(
value
=
"获取统计数据"
,
httpMethod
=
"GET"
,
notes
=
"获取统计数据"
)
@GetMapping
@GetMapping
@RequestMapping
(
"/getCount"
)
@RequestMapping
(
"/getCount"
)
public
ResponseDataModel
<
DataStatisticsDTO
>
getCount
(
ComProjectTask
e
)
{
public
ResponseDataModel
<
DataStatisticsDTO
>
getCount
(
ComProjectTaskQueryVO
vo
)
{
ComProjectTaskQueryVO
vo
=
new
ComProjectTaskQueryVO
();
vo
.
setAppPersonId
(
SecurityUserHolder
.
getPersonId
());
vo
.
setAppPersonId
(
SecurityUserHolder
.
getPersonId
());
vo
.
setReportYear
(
e
.
getReportYear
());
vo
.
setProjState
(
CommonEnum
.
projState
.
pass
.
getCode
());
vo
.
setReportYear
(
vo
.
getReportYear
());
return
ResponseDataModel
.
ok
(
ComProjectTaskService
.
getCount
(
vo
));
return
ResponseDataModel
.
ok
(
ComProjectTaskService
.
getCount
(
vo
));
}
}
...
...
science-admin/src/main/java/com/yiboshi/science/service/ComProjectService.java
View file @
56e8b0d9
...
@@ -39,20 +39,12 @@ public interface ComProjectService extends BaseService<ComProjectQueryVO, ComPro
...
@@ -39,20 +39,12 @@ public interface ComProjectService extends BaseService<ComProjectQueryVO, ComPro
*/
*/
String
getVersionNo
(
String
oldVersionNo
);
String
getVersionNo
(
String
oldVersionNo
);
/**
* 保存项目信息
*
* @param dto
* @return
*/
String
save
(
ComProjectDTO
dto
);
/**
/**
* 分布保存项目信息
* 分布保存项目信息
* @param dto
* @param dto
* @return
* @return
*/
*/
String
save
ByStep
(
ComProjectDTO
dto
);
String
save
(
ComProjectDTO
dto
);
/**
/**
* 修改申报单位
* 修改申报单位
...
...
science-admin/src/main/java/com/yiboshi/science/service/impl/ComProjectServiceImpl.java
View file @
56e8b0d9
...
@@ -762,85 +762,59 @@ public class ComProjectServiceImpl extends BaseServiceImpl<ComProjectDAO, ComPro
...
@@ -762,85 +762,59 @@ public class ComProjectServiceImpl extends BaseServiceImpl<ComProjectDAO, ComPro
this
.
update
(
comProject
);
this
.
update
(
comProject
);
}
}
@Transactional
public
String
save
(
ComProjectDTO
dto
)
{
public
String
save
(
ComProjectDTO
dto
)
{
dto
.
setFileId
(
dto
.
getDownloadId
());
String
id
=
""
;
if
(
Objects
.
nonNull
(
dto
.
getGovFunding
()))
{
if
(
dto
.
getGovFunding
().
compareTo
(
new
BigDecimal
(
50
))
>
-
1
)
{
dto
.
setProjClass
(
2
);
}
else
{
dto
.
setProjClass
(
1
);
}
}
if
(
Objects
.
isNull
(
dto
.
getId
()))
dto
.
setId
(
projectInsert
(
dto
));
else
{
ComProject
project
=
this
.
entityById
(
dto
.
getId
());
if
(
null
==
project
)
{
dto
.
setId
(
projectInsert
(
dto
));
}
else
projectUpdate
(
dto
);
}
return
dto
.
getId
();
}
public
String
saveByStep
(
ComProjectDTO
dto
)
{
String
ProjectID
=
""
;
switch
(
dto
.
getStep
())
{
switch
(
dto
.
getStep
())
{
case
0
:
//项目基本信息
case
0
:
//项目基本信息
ProjectID
=
P
rojectSaveStep0
(
dto
);
id
=
p
rojectSaveStep0
(
dto
);
break
;
break
;
case
1
:
//项目组成员及单位
case
1
:
//项目组成员及单位
ProjectID
=
P
rojectSaveStep1
(
dto
);
id
=
p
rojectSaveStep1
(
dto
);
break
;
break
;
case
2
:
//经费预算及设备明细
case
2
:
//经费预算及设备明细
ProjectID
=
P
rojectSaveStep2
(
dto
);
id
=
p
rojectSaveStep2
(
dto
);
break
;
break
;
case
3
:
//阶段目标及课题设置
case
3
:
//阶段目标及课题设置
ProjectID
=
P
rojectSaveStep3
(
dto
);
id
=
p
rojectSaveStep3
(
dto
);
break
;
break
;
case
4
:
//绩效指标
case
4
:
//绩效指标
ProjectID
=
P
rojectSaveStep4
(
dto
);
id
=
p
rojectSaveStep4
(
dto
);
break
;
break
;
case
5
:
//附件
case
5
:
//附件
ProjectID
=
P
rojectSaveStep5
(
dto
);
id
=
p
rojectSaveStep5
(
dto
);
break
;
break
;
}
}
return
id
;
return
ProjectID
;
}
}
private
String
P
rojectSaveStep0
(
ComProjectDTO
dto
)
{
private
String
p
rojectSaveStep0
(
ComProjectDTO
dto
)
{
String
ProjectID
=
""
;
String
id
=
""
;
dto
.
setFileId
(
dto
.
getDownloadId
());
dto
.
setFileId
(
dto
.
getDownloadId
());
if
(
Objects
.
isNull
(
dto
.
getId
()))
if
(
Objects
.
isNull
(
dto
.
getId
()))
ProjectID
=
InsertProjectBaseInfo
(
dto
);
id
=
InsertProjectBaseInfo
(
dto
);
else
{
else
{
ComProject
project
=
this
.
entityById
(
dto
.
getId
());
ComProject
project
=
this
.
entityById
(
dto
.
getId
());
if
(
null
==
project
)
{
if
(
null
==
project
)
{
ProjectID
=
InsertProjectBaseInfo
(
dto
);
id
=
InsertProjectBaseInfo
(
dto
);
}
else
}
else
ProjectID
=
UpdateProjectBaseInfo
(
dto
);
id
=
UpdateProjectBaseInfo
(
dto
);
}
}
return
id
;
return
ProjectID
;
}
}
@Transactional
@Transactional
public
String
P
rojectSaveStep1
(
ComProjectDTO
dto
)
{
public
String
p
rojectSaveStep1
(
ComProjectDTO
dto
)
{
ComProject
comProject
=
convert2Entity
(
dto
);
ComProject
comProject
=
convert2Entity
(
dto
);
this
.
update
(
comProject
);
this
.
update
(
comProject
);
// 项目参加人员
// 项目参加人员
comProjectMembersService
.
insertList
(
dto
.
getMembers
(),
dto
.
getId
());
comProjectMembersService
.
insertList
(
dto
.
getMembers
(),
dto
.
getId
());
// 主要参与单位
// 主要参与单位
comProjectCooperativeUnitsService
.
insertList
(
dto
.
getParticipateUnits
(),
dto
.
getId
(),
2
);
comProjectCooperativeUnitsService
.
insertList
(
dto
.
getParticipateUnits
(),
dto
.
getId
(),
2
);
return
dto
.
getId
();
return
dto
.
getId
();
}
}
@Transactional
@Transactional
public
String
P
rojectSaveStep2
(
ComProjectDTO
dto
)
{
public
String
p
rojectSaveStep2
(
ComProjectDTO
dto
)
{
if
(
Objects
.
nonNull
(
dto
.
getGovFunding
()))
{
if
(
Objects
.
nonNull
(
dto
.
getGovFunding
()))
{
if
(
dto
.
getGovFunding
().
compareTo
(
new
BigDecimal
(
50
))
>
-
1
)
{
if
(
dto
.
getGovFunding
().
compareTo
(
new
BigDecimal
(
50
))
>
-
1
)
{
dto
.
setProjClass
(
2
);
dto
.
setProjClass
(
2
);
...
@@ -850,14 +824,11 @@ public class ComProjectServiceImpl extends BaseServiceImpl<ComProjectDAO, ComPro
...
@@ -850,14 +824,11 @@ public class ComProjectServiceImpl extends BaseServiceImpl<ComProjectDAO, ComPro
}
}
ComProject
comProject
=
convert2Entity
(
dto
);
ComProject
comProject
=
convert2Entity
(
dto
);
this
.
update
(
comProject
);
this
.
update
(
comProject
);
comProjectBasicService
.
insertOrUpdate
(
dto
);
comProjectBasicService
.
insertOrUpdate
(
dto
);
// 经费预算
// 经费预算
comProjectBudgetService
.
insertBudgetList
(
dto
.
getBudget
(),
dto
.
getId
());
comProjectBudgetService
.
insertBudgetList
(
dto
.
getBudget
(),
dto
.
getId
());
// 年度用款计划表
// 年度用款计划表
comProjectFundPlanService
.
insertList
(
dto
.
getFundPlan
(),
dto
.
getId
());
comProjectFundPlanService
.
insertList
(
dto
.
getFundPlan
(),
dto
.
getId
());
if
(
null
!=
dto
.
getDeviceList
()
&&
dto
.
getDeviceList
().
size
()
>
0
)
{
if
(
null
!=
dto
.
getDeviceList
()
&&
dto
.
getDeviceList
().
size
()
>
0
)
{
// 购置设备预算明细表
// 购置设备预算明细表
comProjectEquipmentService
.
insertEquipmentList
(
dto
.
getDeviceList
(),
dto
.
getId
());
comProjectEquipmentService
.
insertEquipmentList
(
dto
.
getDeviceList
(),
dto
.
getId
());
...
@@ -870,43 +841,36 @@ public class ComProjectServiceImpl extends BaseServiceImpl<ComProjectDAO, ComPro
...
@@ -870,43 +841,36 @@ public class ComProjectServiceImpl extends BaseServiceImpl<ComProjectDAO, ComPro
// 单位支出明细预算表
// 单位支出明细预算表
comProjectUnitPaymentService
.
insertList
(
dto
.
getUnitPayment
(),
dto
.
getId
());
comProjectUnitPaymentService
.
insertList
(
dto
.
getUnitPayment
(),
dto
.
getId
());
}
}
return
dto
.
getId
();
return
dto
.
getId
();
}
}
@Transactional
@Transactional
public
String
P
rojectSaveStep3
(
ComProjectDTO
dto
)
{
public
String
p
rojectSaveStep3
(
ComProjectDTO
dto
)
{
ComProject
comProject
=
convert2Entity
(
dto
);
ComProject
comProject
=
convert2Entity
(
dto
);
this
.
update
(
comProject
);
this
.
update
(
comProject
);
// 项目安排及阶段目标
// 项目安排及阶段目标
comProjectStageGoalService
.
insertList
(
dto
.
getStageGoals
(),
dto
.
getId
());
comProjectStageGoalService
.
insertList
(
dto
.
getStageGoals
(),
dto
.
getId
());
if
(
null
!=
dto
.
getProjectSubList
()
&&
dto
.
getProjectSubList
().
size
()
>
0
)
{
if
(
null
!=
dto
.
getProjectSubList
()
&&
dto
.
getProjectSubList
().
size
()
>
0
)
{
// 项目课颖设置表
// 项目课颖设置表
comProjectSubService
.
insertList
(
dto
.
getProjectSubList
(),
dto
.
getId
());
comProjectSubService
.
insertList
(
dto
.
getProjectSubList
(),
dto
.
getId
());
}
}
return
dto
.
getId
();
return
dto
.
getId
();
}
}
@Transactional
@Transactional
public
String
P
rojectSaveStep4
(
ComProjectDTO
dto
)
{
public
String
p
rojectSaveStep4
(
ComProjectDTO
dto
)
{
ComProject
comProject
=
new
ComProject
();
ComProject
comProject
=
new
ComProject
();
comProject
.
setId
(
dto
.
getId
());
comProject
.
setId
(
dto
.
getId
());
comProject
.
setCompleteStatus
(
dto
.
getCompleteStatus
());
comProject
.
setCompleteStatus
(
dto
.
getCompleteStatus
());
if
(
Objects
.
nonNull
(
dto
.
getManagerDept
()))
if
(
Objects
.
nonNull
(
dto
.
getManagerDept
()))
comProject
.
setManagerDept
(
dto
.
getManagerDept
());
comProject
.
setManagerDept
(
dto
.
getManagerDept
());
this
.
update
(
comProject
);
this
.
update
(
comProject
);
ComProjectBasic
comProjectBasic
=
new
ComProjectBasic
();
ComProjectBasic
comProjectBasic
=
new
ComProjectBasic
();
comProjectBasic
.
setProjId
(
dto
.
getId
());
comProjectBasic
.
setProjId
(
dto
.
getId
());
if
(
Objects
.
nonNull
(
dto
.
getProjAttribute
()))
if
(
Objects
.
nonNull
(
dto
.
getProjAttribute
()))
comProjectBasic
.
setProjAttribute
(
dto
.
getProjAttribute
());
comProjectBasic
.
setProjAttribute
(
dto
.
getProjAttribute
());
else
else
comProjectBasic
.
setProjAttribute
(
"5b9d6509-aece-11ef-b6cb-0c42a1380f01"
);
//新增项目
comProjectBasic
.
setProjAttribute
(
"5b9d6509-aece-11ef-b6cb-0c42a1380f01"
);
//新增项目
if
(
Objects
.
nonNull
(
dto
.
getYearTarget
()))
if
(
Objects
.
nonNull
(
dto
.
getYearTarget
()))
comProjectBasic
.
setYearTarget
(
dto
.
getYearTarget
());
comProjectBasic
.
setYearTarget
(
dto
.
getYearTarget
());
if
(
Objects
.
nonNull
(
dto
.
getYear1Goal
()))
if
(
Objects
.
nonNull
(
dto
.
getYear1Goal
()))
...
@@ -915,25 +879,20 @@ public class ComProjectServiceImpl extends BaseServiceImpl<ComProjectDAO, ComPro
...
@@ -915,25 +879,20 @@ public class ComProjectServiceImpl extends BaseServiceImpl<ComProjectDAO, ComPro
comProjectBasic
.
setYear2Goal
(
dto
.
getYear2Goal
());
comProjectBasic
.
setYear2Goal
(
dto
.
getYear2Goal
());
if
(
Objects
.
nonNull
(
dto
.
getYear3Goal
()))
if
(
Objects
.
nonNull
(
dto
.
getYear3Goal
()))
comProjectBasic
.
setYear3Goal
(
dto
.
getYear3Goal
());
comProjectBasic
.
setYear3Goal
(
dto
.
getYear3Goal
());
comProjectBasicService
.
insertOrUpdate
(
dto
);
comProjectBasicService
.
insertOrUpdate
(
dto
);
if
(
null
!=
dto
.
getProjectKPI
().
getKpiList
()
&&
dto
.
getProjectKPI
().
getKpiList
().
size
()
>
0
)
{
if
(
null
!=
dto
.
getProjectKPI
().
getKpiList
()
&&
dto
.
getProjectKPI
().
getKpiList
().
size
()
>
0
)
{
// 项目绩效指标表
// 项目绩效指标表
comProjectKpitDetailService
.
insertList
(
dto
.
getProjectKPI
().
getKpiList
(),
dto
.
getId
());
comProjectKpitDetailService
.
insertList
(
dto
.
getProjectKPI
().
getKpiList
(),
dto
.
getId
());
}
}
return
dto
.
getId
();
return
dto
.
getId
();
}
}
@Transactional
@Transactional
public
String
P
rojectSaveStep5
(
ComProjectDTO
dto
)
{
public
String
p
rojectSaveStep5
(
ComProjectDTO
dto
)
{
ComProject
comProject
=
convert2Entity
(
dto
);
ComProject
comProject
=
convert2Entity
(
dto
);
this
.
update
(
comProject
);
this
.
update
(
comProject
);
// 附件
// 附件
ComFileService
.
insertList
(
dto
.
getFileList
(),
dto
.
getId
(),
CommonEnum
.
fileType
.
project
.
getCode
());
ComFileService
.
insertList
(
dto
.
getFileList
(),
dto
.
getId
(),
CommonEnum
.
fileType
.
project
.
getCode
());
return
dto
.
getId
();
return
dto
.
getId
();
}
}
...
@@ -967,43 +926,6 @@ public class ComProjectServiceImpl extends BaseServiceImpl<ComProjectDAO, ComPro
...
@@ -967,43 +926,6 @@ public class ComProjectServiceImpl extends BaseServiceImpl<ComProjectDAO, ComPro
return
this
.
update
(
comProject
);
return
this
.
update
(
comProject
);
}
}
@Transactional
//插入
public
String
projectInsert
(
ComProjectDTO
dto
)
{
ComBatchDTO
comBatchDTO
=
comBatchService
.
getCurrentBatch
(
dto
.
getProjType
(),
null
);
ComProject
comProject
=
convert2Entity
(
dto
);
comProject
.
setAppNo
(
getAppNo
());
comProject
.
setReportYear
(
comBatchDTO
.
getYear
());
comProject
.
setBatch
(
comBatchDTO
.
getBatch
());
dto
.
setSubjectScope
(
"生物医药领域"
);
comProject
.
setCompleted
(
0
);
comProject
.
setAssignState
(
0
);
String
id
=
this
.
insert
(
comProject
);
dto
.
setId
(
id
);
this
.
saveList
(
dto
,
id
);
comProjectBasicService
.
insertOrUpdate
(
dto
);
return
id
;
}
@Transactional
//更新
public
String
projectUpdate
(
ComProjectDTO
dto
)
{
ComProject
project
=
this
.
entityById
(
dto
.
getId
());
if
(
null
==
project
)
throw
new
BusinessException
(
"项目不存在或已删除"
);
if
(!
StringUtil
.
isContainsRole
(
SecurityUserHolder
.
getRoles
(),
CommonEnum
.
systemRole
.
sys
.
getCode
().
toString
())
&&
!
StringUtil
.
isContainsRole
(
SecurityUserHolder
.
getRoles
(),
CommonEnum
.
systemRole
.
topGov
.
getCode
().
toString
())
&&
!
project
.
getProjState
().
equals
(
CommonEnum
.
projState
.
draft
.
getCode
())
&&
!
project
.
getProjState
().
equals
(
CommonEnum
.
projState
.
waitSubmit
.
getCode
())
&&
!
project
.
getProjState
().
equals
(
CommonEnum
.
projState
.
returnModify
.
getCode
()))
throw
new
BusinessException
(
"项目已上报!"
);
ComProject
comProject
=
convert2Entity
(
dto
);
this
.
saveList
(
dto
,
dto
.
getId
());
comProjectBasicService
.
insertOrUpdate
(
dto
);
return
this
.
update
(
comProject
);
}
@Transactional
@Transactional
public
void
saveList
(
ComProjectDTO
dto
,
String
id
)
{
public
void
saveList
(
ComProjectDTO
dto
,
String
id
)
{
// 项目参加人员
// 项目参加人员
...
@@ -1015,7 +937,7 @@ public class ComProjectServiceImpl extends BaseServiceImpl<ComProjectDAO, ComPro
...
@@ -1015,7 +937,7 @@ public class ComProjectServiceImpl extends BaseServiceImpl<ComProjectDAO, ComPro
// 年度用款计划表
// 年度用款计划表
comProjectFundPlanService
.
insertList
(
dto
.
getFundPlan
(),
id
);
comProjectFundPlanService
.
insertList
(
dto
.
getFundPlan
(),
id
);
// // 项目合作单位
// // 项目合作单位
//
comProjectCooperativeUnitsService.insertList(dto.getCooperativeUnits(), id, 1);
// comProjectCooperativeUnitsService.insertList(dto.getCooperativeUnits(), id, 1);
// 主要参与单位
// 主要参与单位
comProjectCooperativeUnitsService
.
insertList
(
dto
.
getParticipateUnits
(),
id
,
2
);
comProjectCooperativeUnitsService
.
insertList
(
dto
.
getParticipateUnits
(),
id
,
2
);
// 购置设备预算明细表
// 购置设备预算明细表
...
...
science-admin/src/main/resources/mapper/ComProjectTaskDAO.xml
View file @
56e8b0d9
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
from com_project c
from com_project c
left join com_project_task b on b.proj_id=c.id
left join com_project_task b on b.proj_id=c.id
left join com_unit d on c.app_unit_id=d.id
left join com_unit d on c.app_unit_id=d.id
left join com_person e on c.app_person_id=e.
id
left join com_person e on c.app_person_id=e.
6
<where>
<where>
${ew.sqlSegment}
${ew.sqlSegment}
</where>
</where>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment