⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 posqueryaccount.c

📁 一个不错的POS系统
💻 C
字号:
#include "posQueryAccount.h"
#include "posLink.h"
#include "posBackOracle.h"
#include "posPublic.h"
int PosQueryAccount()
{
	char * staff_id[10];
	int m,n;
	staffinfo staffInfo;
	while(1)
	{
		memset(staff_id,0,sizeof(staff_id));
		n=printDelteAccount(3,staff_id);
		if(n==1)
			return 1;
		n=QueryAccount(&staffInfo,staff_id);
		if(n==-1)
		{
			m=MessageBox2("帐户不存在,是否继续?");
			if(m==1)
				return 1;
		}
		if(n==0)
		{
			printAddaccount(3,&staffInfo);
			m=MessageBox2("是否继续");
		}
		if(m==1)
			return 1;
	}
	return 0;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -