| | |
| | | package com.dy.pmsGlobal.aop; |
| | | |
| | | import com.dy.common.webUtil.QueryResultVo; |
| | | import com.dy.pmsGlobal.daoBa.BaLogMapper; |
| | | import com.dy.pmsGlobal.pojoBa.BaLog; |
| | | import org.apache.dubbo.common.utils.PojoUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | @Service |
| | | public class LogSv { |
| | | |
| | | @Autowired |
| | | private BaLogMapper logMapper; |
| | | private BaLogMapper dao; |
| | | |
| | | public void save(long operator, String operation,String resIp) { |
| | | BaLog log = new BaLog(); |
| | |
| | | log.setContent(operation); |
| | | log.setCreateDt(new Date()); |
| | | log.setResIp(resIp); |
| | | logMapper.insert(log); |
| | | dao.insert(log); |
| | | } |
| | | |
| | | } |