|
@@ -1,35 +0,0 @@
|
|
|
-package com.syjy.calculate.mapper;
|
|
|
-
|
|
|
-import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
|
-import com.baomidou.mybatisplus.extension.service.IService;
|
|
|
-import com.syjy.calculate.entity.tCalculationFormula;
|
|
|
-import org.apache.ibatis.annotations.*;
|
|
|
-import org.springframework.context.annotation.ComponentScan;
|
|
|
-import org.springframework.stereotype.Repository;
|
|
|
-import org.springframework.stereotype.Service;
|
|
|
-
|
|
|
-import java.util.List;
|
|
|
-
|
|
|
-/*@Repository
|
|
|
-public interface CalculationFormulaMapper{
|
|
|
- @Select("SELECT * from t_calculation_formula")
|
|
|
- List<CalculationFormula> findAll();
|
|
|
-
|
|
|
- @Select("INSERT INTO t_calculation_formula(type,`order`,formula,province_enum,state) VALUES(#{type},#{order},#{formula},#{province},#{state})")
|
|
|
- void add(String type, Integer order, String formula, String province, String state);
|
|
|
-
|
|
|
- @Update("UPDATE t_calculation_formula\n" +
|
|
|
- "SET type = #{type}\n," +
|
|
|
- " `order` = #{order}\n," +
|
|
|
- " `formula` = #{formula}\n," +
|
|
|
- " `province_enum` = #{province}\n," +
|
|
|
- " `state` = #{state}\n" +
|
|
|
- "WHERE id = #{id};\n")
|
|
|
- void edit(Integer id, String type, Integer order, String formula, String province, String state);
|
|
|
-
|
|
|
- @Delete("DELETE FROM t_calculation_formula WHERE id = #{id}")
|
|
|
- void delete(Integer id);
|
|
|
-}*/
|
|
|
-public interface CalculationFormulaService extends IService<tCalculationFormula> {
|
|
|
-
|
|
|
-}
|