wzp
2022-11-21 aff9aac26e1d8689f458a6cc74a580453ba347ef
优化代码
9个文件已修改
27 ■■■■■ 已修改文件
web/.vs/Web/v16/.suo 补丁 | 查看 | 原始文档 | blame | 历史
web/Dao/GwClientDao.cs 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
web/Lib/Dao.dll 补丁 | 查看 | 原始文档 | blame | 历史
web/Lib/Dao.pdb 补丁 | 查看 | 原始文档 | blame | 历史
web/web/Bin/Dao.dll 补丁 | 查看 | 原始文档 | blame | 历史
web/web/Bin/Dao.pdb 补丁 | 查看 | 原始文档 | blame | 历史
web/web/GwOrder.ashx 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
web/web/GwProduct.ashx 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
web/web/gwspupdate.aspx 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
web/.vs/Web/v16/.suo
Binary files differ
web/Dao/GwClientDao.cs
@@ -305,7 +305,10 @@
         */
        public bool UpdateClientAmount(Int64 AddBalance, Int64 payAmount, string clientId )
        {
            return OracleHelper.ExecuteSql("UPDATE GW_CLIENT SET BALANCE=(BALANCE + :BALANCE), TOP_UP_AMOUNT_TOTAL=(TOP_UP_AMOUNT_TOTAL + :TOP_UP_AMOUNT_TOTAL) WHERE CLIENT_ID=:CLIENT_ID", OracleHelper.Connection, new OracleParameter(":BALANCE", (object)AddBalance), new OracleParameter(":TOP_UP_AMOUNT_TOTAL", (object)payAmount), new OracleParameter(":CLIENT_ID", (object)clientId)) > 0;
            return OracleHelper.ExecuteSql("UPDATE GW_CLIENT SET BALANCE=(BALANCE + :BALANCE)," +
                " TOP_UP_AMOUNT_TOTAL=(TOP_UP_AMOUNT_TOTAL + :TOP_UP_AMOUNT_TOTAL) WHERE CLIENT_ID=:CLIENT_ID",
                OracleHelper.Connection, new OracleParameter(":BALANCE", (object)AddBalance),
                new OracleParameter(":TOP_UP_AMOUNT_TOTAL", (object)payAmount), new OracleParameter(":CLIENT_ID", (object)clientId)) > 0;
        }
        public bool UpdateClientProduct(string clientId, string productId)
web/Lib/Dao.dll
Binary files differ
web/Lib/Dao.pdb
Binary files differ
web/web/Bin/Dao.dll
Binary files differ
web/web/Bin/Dao.pdb
Binary files differ
web/web/GwOrder.ashx
@@ -316,7 +316,7 @@
        Int64 basicNum = context.GetInt64("basicNum");
        Int64 givingNum = context.GetInt64("givingNum");
        string clientId = "";
        Int64 payAmount = 0;
        Int64 payAmount = 0;//金额
        Int64 tmpPayAmount = Math.Max((int) (context.GetDecimal("payAmount", new Decimal(4, 0, 0, false, (byte) 2)) * new Decimal(1000)), 0);
        payAmount = tmpPayAmount;
        //double price = context.GetDecimal(price);
@@ -425,7 +425,6 @@
                nextSort = nowSort + 1;
                //获取审核流程的第一环节流程代码
                nextFlowCode = getNextFlowCode(flowGroup, nextSort);
            }
        }
web/web/GwProduct.ashx
@@ -456,6 +456,13 @@
            
        string parentId = context.GetString("parentId", "");
        string path = "";
        if (id == parentId)
        {
            throw new ArgumentException("父级分类id不能选当前类别!请重新选择");
        }
        if (string.IsNullOrEmpty(parentId) )
        {
            path = "0";
web/web/gwspupdate.aspx
@@ -1118,7 +1118,7 @@
                    <th>省网分流:</th>
                    <td><input type="checkbox" value="1" name="ProvincialNetworkMode" id="ProvincialNetworkMode" <%=GwSp.ProvincialNetworkMode==1? "checked":"" %> />&nbsp;是否启用省网分流</td>
                </tr>
                <tr>
                <%--<tr>
                    <th>分包条数:</th>
                    <td>
                        <input type="text" name="SubPackageNum" id="SubPackageNum" style="width: 50px;" maxlength="10" value="<%=(double)GwSp.SubPackageNum%>"
@@ -1131,20 +1131,20 @@
                            onkeyup="value=value.replace(/[^\d]/g,'')" onpaste="value=value.replace(/[^\d]/g,'')"
                            oncontextmenu="return false" />
                        &nbsp;默认0表示不限制,启用限制后小于该提交条数的将被拒绝。</td>
                </tr>
                </tr>--%>
                <tr>
                    <th>是否显示单价:</th>
                    <td>
                        <input type="radio" class="icheck-me" name="IsDispalyPrice" value="0" <%=(GwSp.IsDispalyPrice==0 ? "checked":"")%> /><label>否</label>
                        <input type="radio" class="icheck-me" name="IsDispalyPrice" value="1" <%=(GwSp.IsDispalyPrice==1 ? "checked":"")%> /><label>是</label>
                        </td>
                    <th>扣费方式:</th>
                    <%--<th>扣费方式:</th>
                    <td>
                        <input type="radio" class="icheck-me" name="DeductionMode" value="1" <%=(GwSp.DeductionMode==1 ? "checked":"")%>/><label>提交量</label>
                        <input type="radio" class="icheck-me" name="DeductionMode" value="2" <%=(GwSp.DeductionMode==2 ? "checked":"")%> /><label>成功量</label>
                        </td>
                        </td>--%>
                </tr>
                <tr>
                <%--<tr>
                    <th>发送是否审核:</th>
                    <td colspan="3">
                        <span id="IsSendAuditSpan">
@@ -1179,7 +1179,7 @@
                            </div>
                        </div>
                    </td>
                </tr>
                </tr>--%>
            </table>
        </div>            
        <!-- 高级参数配置:结束 -->