Commit 7b2f8d24 authored by 刘子正's avatar 刘子正

审核驳回接口 改动

parent 708ab661
......@@ -52,14 +52,10 @@ public class BOpinionServiceImpl implements BOpinionService{
@Transactional(propagation = Propagation.REQUIRED,isolation = Isolation.DEFAULT)
@Override
public PersistModel save(String opinion,String id) {
BSubtask bSubtask = bOpinionRepository.querySubtaskInfo(id);
BOpinion bOpinion = new BOpinion();
bOpinion.setCommonBusinessId();
bOpinion.setOpinion(opinion);
bOpinion.setArrangeId(bSubtask.getArrangeId());
bOpinion.setSubtaskId(bSubtask.getBusinessId());
Date day=new Date();
bOpinion.setCreateDate(day);
bOpinion.setSlId(id);
UserUtil.setCurrentPersistOperation(bOpinion);
int line = bOpinionRepository.insertSelective(bOpinion);
return new PersistModel(line);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment