FarmmaterialInwareMapper中:
double countFarmmaterialInware(Integer materialtype) throws Exception;
忘记加@Param("materialtype"),修改:
double countFarmmaterialInware(@Param("materialtype") Integer materialtype) throws Exception;
FarmmaterialInwareMapper:
package com.zte.claa.inficombo.dataaccess.dao.mysql.impl;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import com.zte.claa.inficombo.app.action.appext.farmmaterial.FarmmaterialInwareQryPara;
import com.zte.claa.inficombo.app.model.farmmaterial.FarmmaterialInware;
@Repository
public interface FarmmaterialInwareMapper {
/**
*
* @mbggenerated 2021-04-19
*/
int deleteByPrimaryKey(Integer materialtype) throws Exception;
/**
*
* @mbggenerated 2021-04-19
*/
int insert(FarmmaterialInware record) throws Exception;
/**
*
* @mbggenerated 2021-04-19
*/
FarmmaterialInware selectByPrimaryKey(Integer materialtype) throws Exception;
/**
*
* @mbggenerated 2021-04-19
*/
List<FarmmaterialInware> selectAll();
List<FarmmaterialInware> queryFarmmaterialInware(@Param("para") FarmmaterialInwareQryPara para) throws Exception;
/**
*
* @mbggenerated 2021-04-19
*/
int updateByPrimaryKey(FarmmaterialInware record) throws Exception;
double countFarmmaterialInware(@Param("materialtype") Integer materialtype) throws Exception;
}