Commit 61ac1326 by lzxry

套餐格式判断

parent fc4d1d3a
......@@ -2629,7 +2629,7 @@ public class ContractServiceImpl implements ContractService {
filter.put("contractType",CONTRACT_TYPE_NAME.get(dataSTR));
}
} else if ("price_level".equals(sheetTitle)) {
if (packageMap != null && (!packageMap.containsKey(dataSTR) && !packageMap.containsValue(Long.parseLong(dataSTR)))) {
if (packageMap != null && (!packageMap.containsKey(dataSTR) && (!platform.equals("tkio")&&!packageMap.containsValue(Long.parseLong(dataSTR))))) {
return ResultModel.ERROR("第" + line_num + "行【套餐】错误");
} else {
if (platform.equals("tkio")) {
......
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