| | |
| | | import com.example.erp.common.Result; |
| | | import com.example.erp.service.sd.BasicDateService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.util.Map; |
| | | |
| | |
| | | public Result getOrderBasicData(){ |
| | | return Result.seccess(basicDateService.getOrderBasicData()); |
| | | } |
| | | @GetMapping("/BasicDataByType/{type}") |
| | | public Result getBasicDataByType(@PathVariable String type){ |
| | | return Result.seccess(basicDateService.getBasicDataByType(type)); |
| | | } |
| | | } |