| | |
| | | package com.terra.common.mapper; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.terra.common.entity.lf.OperatePo; |
| | | import org.apache.ibatis.annotations.Insert; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | |
| | | |
| | | @Mapper |
| | | @Repository |
| | | public interface CommonMapper extends BaseMapper { |
| | | public interface CommonMapper extends BaseMapper<OperatePo> { |
| | | @Insert("INSERT INTO lf.sys_operate(url, ip, exec, clazz, type, userid, bak, modular1, modular2) VALUES (#{url}, #{ip}, #{exec}, #{clazz}, #{type}, #{userid}, #{bak}, #{modular1}, #{modular2})") |
| | | int insertOperate(Map<String,Object> map); |
| | | int insertOperate(Map<String, Object> map); |
| | | } |