20bf601d66b2edcc1ab72ffa634a57117ed070a3.svn-base 845 B

12345678910111213141516171819202122232425
  1. package cn.com.goldenwater.dcproj.service.impl.audit;
  2. import cn.com.goldenwater.dcproj.dao.BisInspSvwtWuntRgstrDao;
  3. import cn.com.goldenwater.dcproj.model.BisInspSvwtWuntRgstr;
  4. import org.springframework.beans.factory.annotation.Autowired;
  5. import org.springframework.stereotype.Service;
  6. import org.springframework.transaction.annotation.Transactional;
  7. /**
  8. * @author lhc
  9. * @date 2019/11/13 19:29
  10. */
  11. @Service
  12. @Transactional
  13. public class SvwtWuntUpdateState extends ObjUpdateState {
  14. @Autowired
  15. BisInspSvwtWuntRgstrDao bisInspSvwtWuntRgstrDao;
  16. @Override
  17. public void updatState(String regID, String state, String villType) {
  18. BisInspSvwtWuntRgstr bisInspSvwtWuntRgstr =bisInspSvwtWuntRgstrDao.get(regID);
  19. bisInspSvwtWuntRgstr.setState(state);
  20. bisInspSvwtWuntRgstrDao.update(bisInspSvwtWuntRgstr);
  21. }
  22. }