2025-02-26 19:30:34 +08:00
|
|
|
package net.carbon.mapper;
|
|
|
|
|
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
|
|
import net.carbon.model.po.EconomicsDO;
|
2025-02-26 23:26:28 +08:00
|
|
|
import org.apache.ibatis.annotations.Insert;
|
2025-02-26 19:30:34 +08:00
|
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* <p>
|
|
|
|
* Mapper 接口
|
|
|
|
* </p>
|
|
|
|
*
|
|
|
|
* @author jieyuu
|
|
|
|
* @since 2025-02-21
|
|
|
|
*/
|
|
|
|
@Mapper
|
|
|
|
public interface EconomicsMapper extends BaseMapper<EconomicsDO> {
|
|
|
|
|
2025-02-26 23:26:28 +08:00
|
|
|
@Insert("insert into economics (name, unit, data, attribute, is_system_date, is_delete) values " +
|
|
|
|
"(#{name},#{unit},#{data},#{attribute},#{isSystemDate},#{isDelete})")
|
|
|
|
Integer add(EconomicsDO economicsDO);
|
2025-02-26 19:30:34 +08:00
|
|
|
}
|