package cn.com.goldenwater.dcproj.service.impl.audit; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; /** * @author lhc * @date 2019/11/14 13:48 */ @Service @Transactional public class PersonWaterUpdateState extends ObjUpdateState { @Autowired PersonWaterFactory personWaterFactory; @Override public void updatState(String regID, String state, String villType) { personWaterFactory.CreateObj(villType).updatState(regID,state,""); } }