| | |
| | | import com.java110.intf.community.IRoomV1InnerServiceSMO; |
| | | import com.java110.intf.user.IOwnerCarInnerServiceSMO; |
| | | import com.java110.intf.user.IOwnerRoomRelV1InnerServiceSMO; |
| | | import com.java110.job.adapt.hcIotNew.http.ISendIot; |
| | | import com.java110.utils.util.ListUtil; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | |
| | | @Autowired |
| | | private IOwnerCarInnerServiceSMO ownerCarInnerServiceSMOImpl; |
| | | |
| | | @Autowired |
| | | private ISendIot sendIotImpl; |
| | | |
| | | @Override |
| | | public void sendOwnerData(OwnerDto ownerDto) { |
| | | JSONObject paramIn = new JSONObject(); |
| | |
| | | paramIn.put("name", ownerDto.getName()); |
| | | paramIn.put("ownerTypeCd", ownerDto.getOwnerTypeCd()); |
| | | paramIn.put("idCard", ownerDto.getIdCard()); |
| | | paramIn.put("link", ownerDto.getLink()); |
| | | paramIn.put("ownerPhoto", getOwnerPhoto(ownerDto)); |
| | | |
| | | |
| | |
| | | |
| | | //todo 查询业主车辆 |
| | | getOwnerCars(paramIn, ownerDto); |
| | | |
| | | sendIotImpl.post("/iot/api/owner.addOwnerApi",paramIn); |
| | | } |
| | | |
| | | /** |