|
|
|
@ -5,6 +5,9 @@ import com.mdp.core.service.BaseService; |
|
|
|
import com.xm.core.entity.XmMyFocus; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
|
|
|
|
import java.util.Date; |
|
|
|
|
|
|
|
/** |
|
|
|
* 父类已经支持增删改查操作,因此,即使本类什么也不写,也已经可以满足一般的增删改查操作了.<br> |
|
|
|
* 组织 com.qqkj 顶级模块 oa 大模块 xm 小模块 <br> |
|
|
|
@ -49,6 +52,7 @@ public class XmMyFocusService extends BaseService { |
|
|
|
* @param xmMyFocus |
|
|
|
*/ |
|
|
|
public void focus(XmMyFocus xmMyFocus) { |
|
|
|
xmMyFocus.setFtime(new Date()); |
|
|
|
this.insert(xmMyFocus); |
|
|
|
if("1".equals(xmMyFocus.getFocusType())) { |
|
|
|
xmRecordService.addXmProjectRecord(xmMyFocus.getBizId(), "项目-关注项目", xmMyFocus.getUsername()+"关注了项目"+xmMyFocus.getBizName()); |
|
|
|
|