f661444474d40e10ab6e00566bf61cef6a83771b.svn-base 813 B

12345678910111213141516171819202122232425
  1. package cn.com.goldenwater.dcproj.service.impl.audit;
  2. import cn.com.goldenwater.dcproj.dao.BisInspOtherRgstrDao;
  3. import cn.com.goldenwater.dcproj.model.BisInspOtherRgstr;
  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/16 11:11
  10. */
  11. @Service
  12. @Transactional
  13. public class OtherUpdateState extends ObjUpdateState {
  14. @Autowired
  15. BisInspOtherRgstrDao bisInspOtherRgstrDao;
  16. @Override
  17. public void updatState(String regID, String state, String villType) {
  18. BisInspOtherRgstr bisInspOtherRgstr = bisInspOtherRgstrDao.get(regID);
  19. bisInspOtherRgstr.setState(state);
  20. bisInspOtherRgstrDao.update(bisInspOtherRgstr);
  21. }
  22. }