package com.steerinfo.dil.controller; import com.steerinfo.dil.mapper.BackgroundProcessingMapper; import com.steerinfo.dil.mapper.OmstruckOrderMapper; import com.steerinfo.dil.mapper.UniversalMapper; import com.steerinfo.dil.service.impl.BackgroundProcessingServiceImpl; import com.steerinfo.dil.util.BaseRESTfulController; import com.steerinfo.dil.util.DataChange; import com.steerinfo.framework.controller.RESTfulResult; import io.swagger.annotations.ApiOperation; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.transaction.annotation.Transactional; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import java.util.ArrayList; import java.util.List; import java.util.Map; /* * 后台处理程序 */ @RestController @RequestMapping("${api.version}/bp") public class BackgroundProcessingController extends BaseRESTfulController { @Autowired private BackgroundProcessingMapper backgroundProcessingMapper; @Autowired private BackgroundProcessingServiceImpl backgroundProcessingService; @Autowired private OmstruckOrderMapper omstruckOrderMapper; @Autowired private UniversalMapper universalMapper; @ApiOperation("登录接口") @PostMapping("bpLogin") public RESTfulResult bpLogin(String userName,String password,String app_code) { backgroundProcessingService.bpLogin(userName); return success(); } }