| 12345678910111213141516171819202122232425 |
- package cn.com.goldenwater.dcproj.service.impl.audit;
- import cn.com.goldenwater.dcproj.dao.BisInspSvwtWuntRgstrDao;
- import cn.com.goldenwater.dcproj.model.BisInspSvwtWuntRgstr;
- import org.springframework.beans.factory.annotation.Autowired;
- import org.springframework.stereotype.Service;
- import org.springframework.transaction.annotation.Transactional;
- /**
- * @author lhc
- * @date 2019/11/13 19:29
- */
- @Service
- @Transactional
- public class SvwtWuntUpdateState extends ObjUpdateState {
- @Autowired
- BisInspSvwtWuntRgstrDao bisInspSvwtWuntRgstrDao;
- @Override
- public void updatState(String regID, String state, String villType) {
- BisInspSvwtWuntRgstr bisInspSvwtWuntRgstr =bisInspSvwtWuntRgstrDao.get(regID);
- bisInspSvwtWuntRgstr.setState(state);
- bisInspSvwtWuntRgstrDao.update(bisInspSvwtWuntRgstr);
- }
- }
|