111,126
社区成员
发帖
与我相关
我的任务
分享
string P_Str_cmdtxt = "select StockID as '库存ID',GoodsID as '商品ID',GoodsName as '商品名称',DepotName as '仓库名称',CompanyName as '供应商名称',StockNum as '库存数量',AlarmNum as '报警数量',GoodsUnit as '商品单位',GoodsTime as '进货时间',GoodsSpec as '商品规格',GoodsPrice as '进货价格',SellPrice as '销售价格',Needpay as '应付金额', Haspay as '实付金额',Remark as '备注' from tb_Stock " ;
string P_Str_select = "where GoodsName like '%" + this.txtGoodsName.Text + "%' and GoodsID like '%" + this.txtGoodsID.Text + "%' and StockNum like '%" + this.txtStockNum.Text + "%' and AlarmNum like '%" + this.txtAlarmNum.Text + "%'";
P_Str_cmdtxt += P_Str_select ;