|
|
@@ -29,6 +29,7 @@ import com.fs.erp.dto.ErpOrderQueryResponse;
|
|
|
import com.fs.erp.dto.df.BspOrderResponse;
|
|
|
import com.fs.erp.dto.df.DFConfigVo;
|
|
|
import com.fs.erp.service.IErpOrderService;
|
|
|
+import com.fs.framework.web.service.PermissionService;
|
|
|
import com.fs.framework.web.service.TokenService;
|
|
|
import com.fs.his.config.FsSysConfig;
|
|
|
import com.fs.his.domain.*;
|
|
|
@@ -47,6 +48,7 @@ import com.fs.system.domain.SysConfig;
|
|
|
import com.fs.system.mapper.SysConfigMapper;
|
|
|
import com.github.pagehelper.PageHelper;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
+import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.beans.factory.annotation.Qualifier;
|
|
|
import org.springframework.security.access.prepost.PreAuthorize;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
@@ -70,6 +72,7 @@ import static com.fs.his.utils.PhoneUtil.*;
|
|
|
* @author fs
|
|
|
* @date 2023-06-13
|
|
|
*/
|
|
|
+@Slf4j
|
|
|
@RestController
|
|
|
@RequestMapping("/his/storeOrder")
|
|
|
public class FsStoreOrderController extends BaseController
|
|
|
@@ -127,6 +130,8 @@ public class FsStoreOrderController extends BaseController
|
|
|
@PostMapping("/list")
|
|
|
public TableDataInfo list(@RequestBody FsStoreOrderParam fsStoreOrder)
|
|
|
{
|
|
|
+ log.info("查询订单列表 {}",fsStoreOrder);
|
|
|
+
|
|
|
PageHelper.startPage(fsStoreOrder);
|
|
|
if (fsStoreOrder.getUserPhoneMk()!=null&& !fsStoreOrder.getUserPhoneMk().isEmpty()){
|
|
|
fsStoreOrder.setUserPhone(encryptPhone(fsStoreOrder.getUserPhoneMk()));
|
|
|
@@ -220,6 +225,8 @@ public class FsStoreOrderController extends BaseController
|
|
|
task.setUserId(SecurityUtils.getUserId());
|
|
|
exportTaskService.insertFsExportTask(task);
|
|
|
param.setTaskId(task.getTaskId());
|
|
|
+
|
|
|
+
|
|
|
exportTaskService.exportStore1Data(param);
|
|
|
|
|
|
return new AjaxResult(200,"后台正在导出,请等待...任务ID:"+task.getTaskId(),task.getTaskId());
|