| | |
| | | import org.springblade.core.tool.constant.BladeConstant; |
| | | import org.springblade.core.tool.constant.RoleConstant; |
| | | import org.springblade.core.tool.utils.Func; |
| | | import org.springblade.core.tool.utils.StringUtil; |
| | | import org.springblade.modules.farm.entity.FarmingRecord; |
| | | import org.springblade.modules.farm.service.FarmingRecordService; |
| | | import org.springblade.modules.farmplant.entity.FarmPlant; |
| | |
| | | } |
| | | record.setLandId(farmPlant.getLandId()); |
| | | record.setOperator(farmPlant.getCreateUser()); |
| | | if (farmPlant.getVarieties().equals("")){ |
| | | if (StringUtil.isBlank(farmPlant.getVarieties())){ |
| | | record.setContent("品种: " + strain.getStrainName()); |
| | | |
| | | }else { |
| | | record.setContent("品种: " + strain.getStrainName()+"-"+farmPlant.getVarieties()); |
| | | } |