55e178273223d853ac8689dd4a652d9cdfa4aefb.svn-base 891 B

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