|  |  |  | 
|---|
|  |  |  | @Repository | 
|---|
|  |  |  | public interface BasArmRulesMapper extends BaseMapper<BasArmRules> { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Select("select top 10 from asr_bas_arm_rules where 1=1 and status = #{status}") | 
|---|
|  |  |  | //    @Select("select top 10 * from asr_bas_arm_rules where 1=1 and status = #{status}") | 
|---|
|  |  |  | List<BasArmRules> AllStatusSatisfyBasArmRules(int status); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | boolean updateStatus(@Param("materialLength") Double materialLength, | 
|---|
|  |  |  | 
|---|
|  |  |  | @Param("materialNumber") Double materialNumber, | 
|---|
|  |  |  | @Param("status") int status); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | Integer getNumber(@Param("weight")Double weight,@Param("volume")Double volume,@Param("length")Double length,@Param("width")Double width,@Param("height")Double height); | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|