?? posupdateproduct.c
字號:
#include "posUpdateProduct.h"
#include "posDeleteProduct.h"
#include "posAddProduct.h"
#include "posQueryProduct.h"
#include "posBackOracle.h"
int posUpdateProduct()
{
barinfo barInfo;
int n=-998;
while(1)
{
char barcode[10];
memset(barcode,0,sizeof(barcode));
n=printProduct(2,barcode);
if(n==1)
return 1;
QueryBarInfo(&barInfo,barcode);
n=printAddproduct(2,&barInfo);
if(n==1)
return 1;
n=updateBarInfo(&barInfo,barcode);
if(n==0)
{
n=MessageBox2("更改成功!是否繼續?");
if(n==1)
return 1;
}
}
return 0;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -