|
@@ -12,6 +12,7 @@ import com.diagbot.exception.CommonException;
|
|
|
import com.diagbot.util.BeanUtil;
|
|
|
import com.diagbot.util.DateUtil;
|
|
|
import com.diagbot.util.ListUtil;
|
|
|
+import com.diagbot.util.UserUtils;
|
|
|
import com.diagbot.vo.HospitalSetVO;
|
|
|
import com.diagbot.vo.PlanDefaultVO;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -96,8 +97,8 @@ public class PlanDefaultFacade {
|
|
|
planDefault.setPlanName(plan.getPlanName());
|
|
|
planDefault.setPlanStatus(1);
|
|
|
planDefault.setRemark("0");
|
|
|
- planDefault.setModifier("-1");
|
|
|
- planDefault.setCreator("-1");
|
|
|
+ planDefault.setModifier(UserUtils.getCurrentPrincipleID());
|
|
|
+ planDefault.setCreator(UserUtils.getCurrentPrincipleID());
|
|
|
planDefault.setGmtModified(now);
|
|
|
planDefault.setGmtCreate(now);
|
|
|
res = planFacade.save(planDefault);
|