|
|
@ -7,7 +7,6 @@ import io.swagger.annotations.ApiOperation; |
|
|
|
import lombok.RequiredArgsConstructor; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.nl.acs.order.service.ProduceshiftorderService; |
|
|
|
import org.nl.acs.order.service.dto.ProduceshiftorderDto; |
|
|
|
import org.nl.annotation.Log; |
|
|
|
import org.springframework.data.domain.Pageable; |
|
|
|
import org.springframework.http.HttpStatus; |
|
|
@ -48,6 +47,13 @@ public class ProduceshiftorderController { |
|
|
|
return new ResponseEntity<>(produceshiftorderService.querySorting(whereJson, page), HttpStatus.OK); |
|
|
|
} |
|
|
|
|
|
|
|
@GetMapping("/reload") |
|
|
|
@Log("数据同步") |
|
|
|
@ApiOperation("数据同步") |
|
|
|
public ResponseEntity<Object> reload() { |
|
|
|
produceshiftorderService.reload(); |
|
|
|
return new ResponseEntity<>(HttpStatus.OK); |
|
|
|
} |
|
|
|
|
|
|
|
@Log("查询工单明细") |
|
|
|
@ApiOperation("查询工单") |
|
|
|