package com.goafanti.customer.service.impl; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.goafanti.common.dao.CustomerUserInfoMapper; import com.goafanti.common.dao.FollowUpRecordMapper; import com.goafanti.common.model.FollowUpRecord; import com.goafanti.core.mybatis.BaseMybatisDao; import com.goafanti.core.shiro.token.TokenManager; import com.goafanti.customer.bo.CustomerIn; import com.goafanti.customer.service.FollowUpService; @Service public class FollowUpServiceImp extends BaseMybatisDao implements FollowUpService{ @Autowired private FollowUpRecordMapper followUpRecordMapper ; @Override public int addFollowUp(FollowUpRecord fur,CustomerIn cusIn) { fur.setCid(cusIn.getId()); fur.setAid(TokenManager.getAdminId()); return followUpRecordMapper.insert(fur); } }