给系统配置增加客户静态单价启用标记

This commit is contained in:
jishenghua
2025-05-20 17:16:50 +08:00
parent d5fd43bd50
commit 99610971b7
6 changed files with 129 additions and 6 deletions

View File

@@ -619,6 +619,23 @@ public class SystemConfigService {
return moveAvgPriceFlag;
}
/**
* 获取客户静态单价开关
* @return
* @throws Exception
*/
public boolean getCustomerStaticPriceFlag() throws Exception {
boolean customerStaticPriceFlag = false;
List<SystemConfig> list = getSystemConfig();
if(list.size()>0) {
String flag = list.get(0).getCustomerStaticPriceFlag();
if(("1").equals(flag)) {
customerStaticPriceFlag = true;
}
}
return customerStaticPriceFlag;
}
/**
* Excel导出统一方法
* @param title