| | |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.java110.core.annotation.Java110Cmd; |
| | | import com.java110.core.context.ICmdDataFlowContext; |
| | | import com.java110.core.event.cmd.AbstractServiceCmdListener; |
| | | import com.java110.core.event.cmd.Cmd; |
| | | import com.java110.core.event.cmd.CmdEvent; |
| | | import com.java110.dto.owner.OwnerCarDto; |
| | | import com.java110.dto.parking.ParkingSpaceDto; |
| | |
| | | import java.util.List; |
| | | |
| | | @Java110Cmd(serviceCode = "parkingSpace.queryParkingSpaces") |
| | | public class QueryParkingSpacesCmd extends AbstractServiceCmdListener { |
| | | public class QueryParkingSpacesCmd extends Cmd { |
| | | |
| | | |
| | | @Autowired |
| | |
| | | @Override |
| | | public void doCmd(CmdEvent event, ICmdDataFlowContext cmdDataFlowContext, JSONObject reqJson) throws CmdException { |
| | | //根据车牌号去查询 车位信息 |
| | | if (reqJson.containsKey("carNum") && !StringUtil.isEmpty("carNum")) { |
| | | if (reqJson.containsKey("carNum") && !StringUtil.isEmpty(reqJson.getString("carNum"))) { |
| | | |
| | | queryParkingSpaceByCarNum(reqJson, cmdDataFlowContext); |
| | | return; |