| | |
| | | //è¿æ»¤æ¡ä»¶ |
| | | if (frmCondition.SqlStr.Trim().Length == 0) |
| | | { |
| | | sSql = "Select * from " + ViewName + " Where 1=1 " + sWhere + sDlgWhere + " order by æ¥æ desc,hsubid "; |
| | | sSql = "Select * from " + ViewName + " Where 1=1 " + sWhere + sDlgWhere + " and HPRDORGID=" + DBUtility.ClsPub.HOrgID + " order by æ¥æ desc,hsubid "; |
| | | } |
| | | else |
| | | { |
| | | sSql = frmCondition.SqlStr + sWhere + sDlgWhere + " order by æ¥æ desc,hsubid "; |
| | | sSql = frmCondition.SqlStr + sWhere + sDlgWhere + " and HPRDORGID=" + DBUtility.ClsPub.HOrgID + " order by æ¥æ desc,hsubid "; |
| | | } |
| | | // |
| | | DSet = SubCn.RunProcReturn(sSql, ViewName, ref DBUtility.ClsPub.sExeReturnInfo); |
| | |
| | | |
| | | private void cf_Click(object sender, EventArgs e) |
| | | { |
| | | //æºè§ç¹å«æ§å¶ |
| | | MessageBox.Show("åæ®æååè½å·²æ§å¶ï¼è¯·ä¸ç®¡çåèç³»", "æç¤º"); |
| | | return; |
| | | // |
| | | Int64 lngBillKey = 0; |
| | | if (grdMain.CurrentRow == null) |
| | | return; |