farm模块-修复个别生成代码实体类没有租号
This commit is contained in:
@@ -88,4 +88,5 @@ public class ProductManagementDO extends BaseDO {
|
||||
*/
|
||||
private String plotName;
|
||||
|
||||
private String tenantId;
|
||||
}
|
||||
@@ -71,7 +71,7 @@ public class FertilizerIndexServiceImpl implements FertilizerIndexService {
|
||||
fertilizerIndexMapper.deleteByIds(ids);
|
||||
}
|
||||
|
||||
private void validateFertilizerIndexExists(String id) {
|
||||
private void validateFertilizerIndexExists(String id) {
|
||||
if (fertilizerIndexMapper.selectById(id) == null) {
|
||||
throw exception(FERTILIZER_INDEX_NOT_EXISTS);
|
||||
}
|
||||
|
||||
@@ -2,6 +2,7 @@ package cn.iocoder.yudao.module.farm.service.modelweatherdisaster;
|
||||
|
||||
|
||||
import cn.hutool.core.util.IdUtil;
|
||||
import cn.iocoder.yudao.framework.security.core.LoginUser;
|
||||
import cn.iocoder.yudao.module.farm.controller.admin.modelweatherdisaster.vo.ModelWeatherDisasterPageReqVO;
|
||||
import cn.iocoder.yudao.module.farm.controller.admin.modelweatherdisaster.vo.ModelWeatherDisasterSaveReqVO;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
Reference in New Issue
Block a user