| | |
| | | @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, |
| | |
| | | |
| | | |
| | | <select id="AllStatusSatisfyBasArmRules" resultMap="BaseResultMap"> |
| | | select top 10 from asr_bas_arm_rules where 1=1 and status = #{status} |
| | | select top 10 * from asr_bas_arm_rules where 1=1 and status = #{status} |
| | | </select> |
| | | |
| | | <update id="updateStatus"> |