|
|
|
@ -3,6 +3,7 @@ package com.ruoyi.programManagement.service.impl;
|
|
|
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
|
|
|
import com.github.pagehelper.PageHelper;
|
|
|
|
|
import com.github.pagehelper.PageInfo;
|
|
|
|
|
import com.ruoyi.common.utils.DateUtils;
|
|
|
|
|
import com.ruoyi.common.utils.SecurityUtils;
|
|
|
|
|
import com.ruoyi.programManagement.entity.BPlanEnterprise;
|
|
|
|
|
import com.ruoyi.programManagement.entity.request.*;
|
|
|
|
@ -108,11 +109,13 @@ public class BPlanEnterpriseServiceImpl extends ServiceImpl<BPlanEnterpriseMappe
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public void insert(BPlanEnterpriseRequest bPlanEnterprise) {
|
|
|
|
|
bPlanEnterprise.setCreateTime(DateUtils.getNowDate());
|
|
|
|
|
bPlanEnterpriseMapper.insertPlan(bPlanEnterprise);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public void updatePlan(BPlanEnterpriseRequest bPlanEnterprise) {
|
|
|
|
|
bPlanEnterprise.setUpdateTime(DateUtils.getNowDate());
|
|
|
|
|
bPlanEnterpriseMapper.updatePlan(bPlanEnterprise);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|