commit
This commit is contained in:
@@ -63,6 +63,7 @@ public class WelfareProjectServiceImpl extends BaseServiceImpl<WelfareProject> i
|
|||||||
public void updateProject(WelfareProject project) {
|
public void updateProject(WelfareProject project) {
|
||||||
// 更新项目
|
// 更新项目
|
||||||
update(project);
|
update(project);
|
||||||
|
dao().clear(WelfareProjectSubjectOption.class, Cnd.where(WelfareProjectSubjectOption::getWelfareId, "=", project.getId()));
|
||||||
|
|
||||||
// 新增或更新选项
|
// 新增或更新选项
|
||||||
for (WelfareProjectSubjectOption option : project.getOptions()) {
|
for (WelfareProjectSubjectOption option : project.getOptions()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user