学 赵
1 year ago
91 changed files with 12747 additions and 21875 deletions
File diff suppressed because it is too large
File diff suppressed because it is too large
File diff suppressed because it is too large
@ -0,0 +1,13 @@ |
|||||
|
const options = [ |
||||
|
{ value: 0, label: "未定义" }, |
||||
|
{ value: 1, label: "JisBBAC" }, |
||||
|
{ value: 2, label: "JisHBPO" }, |
||||
|
{ value: 3, label: "直供件BBAC" }, |
||||
|
{ value: 4, label: "直供件HBPO" }, |
||||
|
{ value: 5, label: "买单件BBAC" }, |
||||
|
{ value: 6, label: "买单件HBPO" }, |
||||
|
{ value: 7, label: "备件" }, |
||||
|
{ value: 8, label: "印度件" }, |
||||
|
]; |
||||
|
const businessType = { title: "业务类型", type: "string", input: "select", options }; |
||||
|
export default businessType; |
@ -0,0 +1,200 @@ |
|||||
|
import { billType, codeType, changedType, subBillType } from "./inventory.js"; |
||||
|
|
||||
|
const schema = { |
||||
|
title: "库存事务日志", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
changedNumber: { |
||||
|
title: "变动单号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
changedTime: { |
||||
|
title: "变动时间", |
||||
|
type: "string", |
||||
|
input: "dateTime", |
||||
|
}, |
||||
|
changedType, |
||||
|
changedBy: { |
||||
|
title: "变动人", |
||||
|
type: "string", |
||||
|
}, |
||||
|
partCode: { |
||||
|
title: "调整LU零件号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
customerPartCode: { |
||||
|
title: "调整客户零件号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
orderNum: { |
||||
|
title: "EDI原始订单号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
billType, |
||||
|
subBillType, |
||||
|
reMark: { |
||||
|
title: "备注", |
||||
|
type: "string", |
||||
|
}, |
||||
|
vinCode: { |
||||
|
title: "调整生产码", |
||||
|
type: "string", |
||||
|
}, |
||||
|
codeType, |
||||
|
qty: { |
||||
|
title: "调整生产码", |
||||
|
type: "number", |
||||
|
}, |
||||
|
billTime: { |
||||
|
title: "发运日期", |
||||
|
type: "string", |
||||
|
}, |
||||
|
billNum: { |
||||
|
title: "WMS发运单号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
deliverTime: { |
||||
|
title: "订单日期", |
||||
|
type: "string", |
||||
|
input: "datetime", |
||||
|
}, |
||||
|
erpToLoc: { |
||||
|
title: "ERP库位", |
||||
|
type: "string", |
||||
|
}, |
||||
|
}, |
||||
|
}; |
||||
|
|
||||
|
const baseUrl = "settleaccount/vmi"; |
||||
|
const queryUrl = `${baseUrl}/log`; |
||||
|
const detailsUrl = `${baseUrl}/get/%s`; |
||||
|
const createUrl = `${baseUrl}/create`; |
||||
|
const updateUrl = `${baseUrl}/update/%s`; |
||||
|
const deleteUrl = `${baseUrl}/delete-list`; |
||||
|
const importUrl = `${baseUrl}/code-setting-upload-excel-import`; |
||||
|
const exportUrl = `${baseUrl}/export`; |
||||
|
const queryMethod = "POST"; |
||||
|
const detailsMethod = "POST"; |
||||
|
const createMethod = "POST"; |
||||
|
const updateMethod = "POST"; |
||||
|
const deleteMethod = "POST"; |
||||
|
const importMethod = "POST"; |
||||
|
const exportMethod = "POST"; |
||||
|
|
||||
|
export default function () { |
||||
|
return { |
||||
|
query: { |
||||
|
url: queryUrl, |
||||
|
method: queryMethod, |
||||
|
hasFilter: true, |
||||
|
schema: { |
||||
|
title: "通用代码", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
filters: { |
||||
|
title: "项目", |
||||
|
type: "array", |
||||
|
hidden: true, |
||||
|
items: { |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
logic: { |
||||
|
type: "int", |
||||
|
}, |
||||
|
column: { |
||||
|
type: "string", |
||||
|
}, |
||||
|
action: { |
||||
|
type: "int", |
||||
|
}, |
||||
|
value: { |
||||
|
type: "string", |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
default: [ |
||||
|
{ |
||||
|
logic: "and", |
||||
|
column: "erpToLoc", |
||||
|
action: "like", |
||||
|
value: null, |
||||
|
readOnly: true, |
||||
|
}, |
||||
|
{ |
||||
|
logic: "and", |
||||
|
column: "createdDate", |
||||
|
action: "like", |
||||
|
value: null, |
||||
|
readOnly: true, |
||||
|
}, |
||||
|
{ |
||||
|
logic: "and", |
||||
|
column: "lu", |
||||
|
action: "like", |
||||
|
value: null, |
||||
|
readOnly: true, |
||||
|
}, |
||||
|
{ |
||||
|
logic: "and", |
||||
|
column: "tmpe4", |
||||
|
action: "like", |
||||
|
value: null, |
||||
|
readOnly: true, |
||||
|
}, |
||||
|
{ |
||||
|
logic: "and", |
||||
|
column: "vinCode", |
||||
|
action: "like", |
||||
|
value: null, |
||||
|
readOnly: true, |
||||
|
}, |
||||
|
{ |
||||
|
logic: "and", |
||||
|
column: "codeType", |
||||
|
action: "like", |
||||
|
value: null, |
||||
|
readOnly: true, |
||||
|
}, |
||||
|
{ |
||||
|
logic: "and", |
||||
|
column: "proType", |
||||
|
action: "like", |
||||
|
value: null, |
||||
|
readOnly: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
skipCount: { |
||||
|
hidden: true, |
||||
|
default: 0, |
||||
|
}, |
||||
|
maxResultCount: { |
||||
|
hidden: true, |
||||
|
default: 10, |
||||
|
}, |
||||
|
sorting: { |
||||
|
hidden: true, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
table: { |
||||
|
schema: schema, |
||||
|
}, |
||||
|
edit: { |
||||
|
detailsUrl, |
||||
|
createUrl, |
||||
|
updateUrl, |
||||
|
deleteUrl, |
||||
|
importUrl, |
||||
|
exportUrl, |
||||
|
detailsMethod, |
||||
|
createMethod, |
||||
|
updateMethod, |
||||
|
deleteMethod, |
||||
|
importMethod, |
||||
|
exportMethod, |
||||
|
schema: schema, |
||||
|
}, |
||||
|
}; |
||||
|
} |
@ -1,5 +1,43 @@ |
|||||
import html from "html"; |
import html from "html"; |
||||
|
import AppList from "../../../components/list/index.js"; |
||||
|
|
||||
export default { |
export default { |
||||
template: html`<a href="../assets/导入模版.zip" target="blank">导入模板下载</a>`, |
components: { AppList }, |
||||
|
template: html`</app-list :config="config" @command="onCommand"></app-list>
|
||||
|
<el-table :data="tableData" border style="width: 100%"> |
||||
|
<el-table-column prop="date" label="custoner/type" width="180" /> |
||||
|
<el-table-column prop="name" label="BBAC" width="180" /> |
||||
|
<el-table-column prop="address" label="HBPO" width="180" /> |
||||
|
</el-table> |
||||
|
`,
|
||||
|
setup() { |
||||
|
const tableData = [ |
||||
|
{ |
||||
|
date: "JIS", |
||||
|
name: "√", |
||||
|
address: "√", |
||||
|
}, |
||||
|
{ |
||||
|
date: "直供件", |
||||
|
name: "√", |
||||
|
address: "√", |
||||
|
}, |
||||
|
{ |
||||
|
date: "印度件", |
||||
|
name: "√", |
||||
|
address: "", |
||||
|
}, |
||||
|
{ |
||||
|
date: "备件", |
||||
|
name: "√", |
||||
|
address: "", |
||||
|
}, |
||||
|
{ |
||||
|
date: "买单件", |
||||
|
name: "对比√ 开票×", |
||||
|
address: "√", |
||||
|
}, |
||||
|
]; |
||||
|
return { tableData }; |
||||
|
}, |
||||
}; |
}; |
||||
|
@ -1,18 +1,24 @@ |
|||||
import AppList from "../../../components/list/index.js"; |
import AppList from "../../../components/list/index.js"; |
||||
import html from "html"; |
import html from "html"; |
||||
import useConfig from "../../../models/job-service.js"; |
import useConfig from "../../../models/job-service.js"; |
||||
|
import { ref, onMounted, onUnmounted } from "vue"; |
||||
|
|
||||
export default { |
export default { |
||||
components: { AppList }, |
components: { AppList }, |
||||
template: html`<app-list :config="config" @command="onCommand" />`, |
template: html`<app-list ref="appListRef" :config="config" @command="onCommand" />`, |
||||
setup() { |
setup() { |
||||
const config = useConfig(); |
const config = useConfig(); |
||||
config.query.schema.title = "发运与结算"; |
config.query.schema.title = "发运与结算"; |
||||
const onCommand = async (item, rows) => { |
const onCommand = async (item, rows) => { |
||||
console.log(item.path, item, rows); |
console.log(item.path, item, rows); |
||||
}; |
}; |
||||
config.query.schema.properties.businessType.default = 8; |
config.query.schema.properties.businessType.default = "YinDuJian"; |
||||
config.query.schema.properties.name.default = "印度件结算与发运数据对比"; |
config.query.schema.properties.name.default = "印度件结算与发运数据对比"; |
||||
return { config, onCommand }; |
const appListRef = ref(null); |
||||
|
onMounted(() => |
||||
|
PubSub.subscribe(config.query.schema.properties.name.default, async () => await appListRef.value.load()) |
||||
|
); |
||||
|
onUnmounted(() => PubSub.unsubscribe(config.query.schema.properties.businessType.default)); |
||||
|
return { config, onCommand, appListRef }; |
||||
}, |
}, |
||||
}; |
}; |
||||
|
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../models/inventory/adjust.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -1,18 +1,24 @@ |
|||||
import AppList from "../../../components/list/index.js"; |
import AppList from "../../../components/list/index.js"; |
||||
import html from "html"; |
import html from "html"; |
||||
import useConfig from "../../../models/job-service.js"; |
import useConfig from "../../../models/job-service.js"; |
||||
|
import { ref, onMounted, onUnmounted } from "vue"; |
||||
|
|
||||
export default { |
export default { |
||||
components: { AppList }, |
components: { AppList }, |
||||
template: html`<app-list :config="config" @command="onCommand" />`, |
template: html`<app-list ref="appListRef" :config="config" @command="onCommand" />`, |
||||
setup() { |
setup() { |
||||
const config = useConfig(); |
const config = useConfig(); |
||||
config.query.schema.title = "发运与结算"; |
config.query.schema.title = "发运与结算"; |
||||
const onCommand = async (item, rows) => { |
const onCommand = async (item, rows) => { |
||||
console.log(item.path, item, rows); |
console.log(item.path, item, rows); |
||||
}; |
}; |
||||
config.query.schema.properties.businessType.default = 3; |
config.query.schema.properties.businessType.default = "ZhiGongJianBBAC"; |
||||
config.query.schema.properties.name.default = "直供件BBAC结算与发运数据对比"; |
config.query.schema.properties.name.default = "直供件BBAC结算与发运数据对比"; |
||||
return { config, onCommand }; |
const appListRef = ref(null); |
||||
|
onMounted(() => |
||||
|
PubSub.subscribe(config.query.schema.properties.name.default, async () => await appListRef.value.load()) |
||||
|
); |
||||
|
onUnmounted(() => PubSub.unsubscribe(config.query.schema.properties.businessType.default)); |
||||
|
return { config, onCommand, appListRef }; |
||||
}, |
}, |
||||
}; |
}; |
||||
|
@ -1,18 +1,24 @@ |
|||||
import AppList from "../../../components/list/index.js"; |
import AppList from "../../../components/list/index.js"; |
||||
import html from "html"; |
import html from "html"; |
||||
import useConfig from "../../../models/job-service.js"; |
import useConfig from "../../../models/job-service.js"; |
||||
|
import { ref, onMounted, onUnmounted } from "vue"; |
||||
|
|
||||
export default { |
export default { |
||||
components: { AppList }, |
components: { AppList }, |
||||
template: html`<app-list :config="config" @command="onCommand" />`, |
template: html`<app-list ref="appListRef" :config="config" @command="onCommand" />`, |
||||
setup() { |
setup() { |
||||
const config = useConfig(); |
const config = useConfig(); |
||||
config.query.schema.title = "发运与结算"; |
config.query.schema.title = "发运与结算"; |
||||
const onCommand = async (item, rows) => { |
const onCommand = async (item, rows) => { |
||||
console.log(item.path, item, rows); |
console.log(item.path, item, rows); |
||||
}; |
}; |
||||
config.query.schema.properties.businessType.default = 4; |
config.query.schema.properties.businessType.default = "ZhiGongJianHBPO"; |
||||
config.query.schema.properties.name.default = "直供件HBPO结算与发运数据对比"; |
config.query.schema.properties.name.default = "直供件HBPO结算与发运数据对比"; |
||||
return { config, onCommand }; |
const appListRef = ref(null); |
||||
|
onMounted(() => |
||||
|
PubSub.subscribe(config.query.schema.properties.name.default, async () => await appListRef.value.load()) |
||||
|
); |
||||
|
onUnmounted(() => PubSub.unsubscribe(config.query.schema.properties.businessType.default)); |
||||
|
return { config, onCommand, appListRef }; |
||||
}, |
}, |
||||
}; |
}; |
@ -0,0 +1,24 @@ |
|||||
|
import AppList from "../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../models/job-service.js"; |
||||
|
import { ref, onMounted, onUnmounted } from "vue"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list ref="appListRef" :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
config.query.schema.title = "发运与结算"; |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
config.query.schema.properties.businessType.default = "MaiDanJianHBPO"; |
||||
|
// config.query.schema.properties.name.default = "直供件BBAC结算与发运数据对比";
|
||||
|
const appListRef = ref(null); |
||||
|
onMounted(() => |
||||
|
PubSub.subscribe(config.query.schema.properties.name.default, async () => await appListRef.value.load()) |
||||
|
); |
||||
|
onUnmounted(() => PubSub.unsubscribe(config.query.schema.properties.businessType.default)); |
||||
|
return { config, onCommand, appListRef }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,16 @@ |
|||||
|
import AppList from "../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../models/pub_sa_detail_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
config.query.schema.properties.businessType.default = "MaiDanJianHBPO"; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,16 @@ |
|||||
|
import AppList from "../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../models/pub_sa_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
config.query.schema.properties.businessType.default = "MaiDanJianHBPO"; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,16 @@ |
|||||
|
import AppList from "../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../models/pub_se_detail_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
config.query.schema.properties.businessType.default = "MaiDanJianHBPO"; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../models/pub_ba_detail_service"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../models/pub_ba_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../models/pub_can_sa_detail_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../models/pub_can_sa_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../models/pub_not_sa_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../models/pub_pd_detail_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../models/pub_pd_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,42 @@ |
|||||
|
using System; |
||||
|
using System.Threading.Tasks; |
||||
|
using Microsoft.AspNetCore.Authorization; |
||||
|
using Microsoft.AspNetCore.Mvc; |
||||
|
using Microsoft.Extensions.DependencyInjection; |
||||
|
using Microsoft.Extensions.Hosting; |
||||
|
using Volo.Abp.Application.Services; |
||||
|
|
||||
|
namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs; |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 手动同步
|
||||
|
/// </summary>
|
||||
|
[AllowAnonymous] |
||||
|
[Route("api/settleaccount/[controller]/[action]")]
|
||||
|
public class HandSeSyncAppService : ApplicationService |
||||
|
{ |
||||
|
private readonly IServiceProvider _applicationServices; |
||||
|
|
||||
|
public HandSeSyncAppService(IHost host) |
||||
|
{ |
||||
|
_applicationServices = host.Services ?? throw new ArgumentNullException(); |
||||
|
} |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 同步
|
||||
|
/// </summary>
|
||||
|
[HttpPost] |
||||
|
public async Task SyncAsync([FromBody] EnumBusinessType businessType) |
||||
|
{ |
||||
|
using var scope = this._applicationServices.CreateScope(); |
||||
|
JitSeSyncAppService jitSeSyncAppService = businessType switch |
||||
|
{ |
||||
|
EnumBusinessType.ZhiGongJianBBAC => scope.ServiceProvider.GetRequiredService<ZhiGongBBACSeSyncAppService>(), |
||||
|
EnumBusinessType.ZhiGongJianHBPO => scope.ServiceProvider.GetRequiredService<ZhiGongBBACSeSyncAppService>(), |
||||
|
EnumBusinessType.BeiJian => scope.ServiceProvider.GetRequiredService<BeiSeSyncAppService>(), |
||||
|
EnumBusinessType.YinDuJian => scope.ServiceProvider.GetRequiredService<YinDuSeSyncAppService>(), |
||||
|
_ => throw new ArgumentOutOfRangeException(nameof(businessType), $"Not expected direction value: {businessType}"), |
||||
|
}; |
||||
|
await jitSeSyncAppService.Invoke(); |
||||
|
} |
||||
|
} |
File diff suppressed because it is too large
@ -0,0 +1,38 @@ |
|||||
|
using System; |
||||
|
using Microsoft.EntityFrameworkCore.Migrations; |
||||
|
|
||||
|
namespace Win.Sfs.SettleAccount.Migrations |
||||
|
{ |
||||
|
public partial class _202308081 : Migration |
||||
|
{ |
||||
|
protected override void Up(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.InsertData( |
||||
|
table: "Set_JobItem", |
||||
|
columns: new[] { "Id", "Cron", "HeartBeat", "IsDisabled", "IsRunning", "Name", "Service" }, |
||||
|
values: new object[] { new Guid("f306b380-47e5-5c01-b902-67ca4113a8f4"), "0 0/30 * * * ? ", null, false, false, "直供件BBAC发运同步", "Win.Sfs.SettleAccount.Entities.BQ.Syncs.ZhiGongBBACSeSyncAppService" }); |
||||
|
|
||||
|
migrationBuilder.UpdateData( |
||||
|
table: "Set_VmiBalance", |
||||
|
keyColumn: "Id", |
||||
|
keyValue: new Guid("ea936b34-ecd0-7dbd-85a9-57cd8b730873"), |
||||
|
column: "ConcurrencyStamp", |
||||
|
value: "210607a13a294958a95ea0faddc6eb65"); |
||||
|
} |
||||
|
|
||||
|
protected override void Down(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.DeleteData( |
||||
|
table: "Set_JobItem", |
||||
|
keyColumn: "Id", |
||||
|
keyValue: new Guid("f306b380-47e5-5c01-b902-67ca4113a8f4")); |
||||
|
|
||||
|
migrationBuilder.UpdateData( |
||||
|
table: "Set_VmiBalance", |
||||
|
keyColumn: "Id", |
||||
|
keyValue: new Guid("ea936b34-ecd0-7dbd-85a9-57cd8b730873"), |
||||
|
column: "ConcurrencyStamp", |
||||
|
value: "f0b58114c8bf4491b657f275bd0631b0"); |
||||
|
} |
||||
|
} |
||||
|
} |
File diff suppressed because it is too large
@ -0,0 +1,79 @@ |
|||||
|
using System; |
||||
|
using Microsoft.EntityFrameworkCore.Migrations; |
||||
|
|
||||
|
namespace Win.Sfs.SettleAccount.Migrations |
||||
|
{ |
||||
|
public partial class _202308082 : Migration |
||||
|
{ |
||||
|
protected override void Up(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.UpdateData( |
||||
|
table: "Set_JobItem", |
||||
|
keyColumn: "Id", |
||||
|
keyValue: new Guid("f306b380-47e5-5c01-b902-67ca4113a8f4"), |
||||
|
column: "Cron", |
||||
|
value: "0 0/10 * * * ? "); |
||||
|
|
||||
|
migrationBuilder.InsertData( |
||||
|
table: "Set_JobItem", |
||||
|
columns: new[] { "Id", "Cron", "HeartBeat", "IsDisabled", "IsRunning", "Name", "Service" }, |
||||
|
values: new object[,] |
||||
|
{ |
||||
|
{ new Guid("d6d5e1d7-9326-ceea-eed4-fb4039e7ee68"), "0 0/10 * * * ? ", null, false, false, "BBAC发运数据同步", "Win.Sfs.SettleAccount.Entities.BQ.Syncs.BBACSeSyncAppService" }, |
||||
|
{ new Guid("d50400b0-b0d4-38d1-fcdf-b1e7ac1d3a68"), "0 0/10 * * * ? ", null, false, false, "HBPO发运数据同步", "Win.Sfs.SettleAccount.Entities.BQ.Syncs.HBPOSeSyncAppService" }, |
||||
|
{ new Guid("8f7dc23d-e2e9-3691-cfe9-545bb958e3f2"), "0 0/10 * * * ? ", null, false, false, "直供件HBPO发运同步", "Win.Sfs.SettleAccount.Entities.BQ.Syncs.ZhiGongHBPOSeSyncAppService" }, |
||||
|
{ new Guid("c1f71240-1b81-0107-8b23-ddc9811a3efe"), "0 0/10 * * * ? ", null, false, false, "备件发运同步", "Win.Sfs.SettleAccount.Entities.BQ.Syncs.BeiSeSyncAppService" }, |
||||
|
{ new Guid("c09c23ea-815f-1b43-4476-2365a8d9a60b"), "0 0/10 * * * ? ", null, false, false, "印度件发运同步", "Win.Sfs.SettleAccount.Entities.BQ.Syncs.YinDuSeSyncAppService" } |
||||
|
}); |
||||
|
|
||||
|
migrationBuilder.UpdateData( |
||||
|
table: "Set_VmiBalance", |
||||
|
keyColumn: "Id", |
||||
|
keyValue: new Guid("ea936b34-ecd0-7dbd-85a9-57cd8b730873"), |
||||
|
column: "ConcurrencyStamp", |
||||
|
value: "7ee5d3ed981d4f87963af8b5654cd9df"); |
||||
|
} |
||||
|
|
||||
|
protected override void Down(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.DeleteData( |
||||
|
table: "Set_JobItem", |
||||
|
keyColumn: "Id", |
||||
|
keyValue: new Guid("8f7dc23d-e2e9-3691-cfe9-545bb958e3f2")); |
||||
|
|
||||
|
migrationBuilder.DeleteData( |
||||
|
table: "Set_JobItem", |
||||
|
keyColumn: "Id", |
||||
|
keyValue: new Guid("c09c23ea-815f-1b43-4476-2365a8d9a60b")); |
||||
|
|
||||
|
migrationBuilder.DeleteData( |
||||
|
table: "Set_JobItem", |
||||
|
keyColumn: "Id", |
||||
|
keyValue: new Guid("c1f71240-1b81-0107-8b23-ddc9811a3efe")); |
||||
|
|
||||
|
migrationBuilder.DeleteData( |
||||
|
table: "Set_JobItem", |
||||
|
keyColumn: "Id", |
||||
|
keyValue: new Guid("d50400b0-b0d4-38d1-fcdf-b1e7ac1d3a68")); |
||||
|
|
||||
|
migrationBuilder.DeleteData( |
||||
|
table: "Set_JobItem", |
||||
|
keyColumn: "Id", |
||||
|
keyValue: new Guid("d6d5e1d7-9326-ceea-eed4-fb4039e7ee68")); |
||||
|
|
||||
|
migrationBuilder.UpdateData( |
||||
|
table: "Set_JobItem", |
||||
|
keyColumn: "Id", |
||||
|
keyValue: new Guid("f306b380-47e5-5c01-b902-67ca4113a8f4"), |
||||
|
column: "Cron", |
||||
|
value: "0 0/30 * * * ? "); |
||||
|
|
||||
|
migrationBuilder.UpdateData( |
||||
|
table: "Set_VmiBalance", |
||||
|
keyColumn: "Id", |
||||
|
keyValue: new Guid("ea936b34-ecd0-7dbd-85a9-57cd8b730873"), |
||||
|
column: "ConcurrencyStamp", |
||||
|
value: "210607a13a294958a95ea0faddc6eb65"); |
||||
|
} |
||||
|
} |
||||
|
} |
Loading…
Reference in new issue