门店获取经纬度

This commit is contained in:
19173159168
2025-07-27 10:06:26 +08:00
parent 5307fc54eb
commit db8b5e636a
6 changed files with 90 additions and 8 deletions

View File

@ -119,7 +119,7 @@ public class CompanyStore extends BaseEntity
private BigDecimal daishouRatio;
/** 标签 1.可租车 2.可换电 3.二手车多个用号隔开例如1,2,3 */
@Excel(name = "标签 1.可租车 2.可换电 3.二手车多个用号隔开例如1,2,3")
@Excel(name = "标签")
private String label;
/** 运营公司id */

View File

@ -56,6 +56,11 @@ public class CompanyStoreServiceImpl implements ICompanyStoreService
{
companyStore.setCreateTime(DateUtils.getNowDate());
companyStore.setUpdateTime(DateUtils.getNowDate());
if(companyStore.getAuditStatus().equals("1")){
companyStore.setStatus("0");
}else{
companyStore.setStatus("0");
}
return companyStoreMapper.insertCompanyStore(companyStore);
}
@ -69,6 +74,11 @@ public class CompanyStoreServiceImpl implements ICompanyStoreService
public int updateCompanyStore(CompanyStore companyStore)
{
companyStore.setUpdateTime(DateUtils.getNowDate());
if(companyStore.getAuditStatus().equals("1")){
companyStore.setStatus("0");
}else{
companyStore.setStatus("0");
}
return companyStoreMapper.updateCompanyStore(companyStore);
}