ProtSheepInfoMapper.xml 345 B

123456789
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  3. <mapper namespace="com.huimv.admin.mapper.ProtSheepInfoMapper">
  4. <update id="updateDayAge">
  5. update prot_sheep_info set sheep_day=sheep_day + 1 where is_leave=0;
  6. </update>
  7. </mapper>