Commit d1840dce authored by ml's avatar ml

资产管理后台-特殊费率修改

parent f98662c1
......@@ -220,7 +220,7 @@ export async function update(commonUserFeeVO: CommonUserFeeVO, currentUserId: an
let pair = dbInfo.pair;
let type = dbInfo.type;
if (dbInfo.user_id != commonUserFeeVO.user_id || type != commonUserFeeVO.type || commonUserFeeVO.pair != pair) {
if (Number(dbInfo.user_id) != Number(commonUserFeeVO.user_id) || Number(type) != Number(commonUserFeeVO.type) || commonUserFeeVO.pair != pair) {
throw ErrorCode.UID_TYPE_NOT_UPDATE;
}
if (dbInfo.status == 3 || dbInfo.status == 4) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment