| | |
| | | import com.vci.ubcs.starter.web.pagemodel.BaseQueryObject; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import javafx.scene.control.TableRow; |
| | | import lombok.AllArgsConstructor; |
| | | import org.springblade.core.mp.support.Condition; |
| | | import org.springblade.core.mp.support.Query; |
| | | import org.springblade.core.tool.api.R; |
| | | import org.springframework.beans.factory.annotation.Value; |
| | | import org.springframework.util.CollectionUtils; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | |
| | | * 同步集成服务 |
| | | */ |
| | | private final ICodeDuckingSyncService codeDuckingSyncService; |
| | | |
| | | /*@Value("${erp.item.btmName:XHDH}") |
| | | private String ERP_ITEM_BTMNAME;*/ |
| | | |
| | | /**系统集成的系统信息列表 |
| | | * @param queryObject 基础查询对象,包含查询条件,分页,排序等 |
| | |
| | | public R sendData(String oid){ |
| | | return codeDuckingSyncService.sendData(oid); |
| | | } |
| | | |
| | | /*** |
| | | * 项目型号代号查询同步 |
| | | * @return |
| | | */ |
| | | @PostMapping("/searchItemDataForERP") |
| | | public R searchItemDataForERP(String endDate){ |
| | | try { |
| | | codeDuckingSyncService.saveItemDataSyncScheduing(endDate); |
| | | return R.success("同步成功"); |
| | | }catch (Throwable e){ |
| | | return R.fail("同步失败"); |
| | | } |
| | | } |
| | | } |