zhanghl
2025-04-15 1eaa7387085a2bc0f434ba46eb2d61991d42cd3e
aps-modules/aps-core/src/main/java/com/aps/core/service/impl/ApsPlantServiceImpl.java
@@ -2,6 +2,8 @@
import java.util.List;
import com.aps.common.core.utils.DateUtils;
import com.aps.common.core.utils.uuid.IdUtils;
import com.aps.common.security.utils.SecurityUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.aps.core.mapper.ApsPlantMapper;
@@ -27,7 +29,7 @@
     * @return 工厂管理
     */
    @Override
    public ApsPlant selectApsPlantById(Long id)
    public ApsPlant selectApsPlantById(String id)
    {
        return apsPlantMapper.selectApsPlantById(id);
    }
@@ -53,7 +55,9 @@
    @Override
    public int insertApsPlant(ApsPlant apsPlant)
    {
        apsPlant.setId(IdUtils.fastSimpleUUID());
        apsPlant.setCreateTime(DateUtils.getNowDate());
        apsPlant.setCreateBy(SecurityUtils.getUsername());
        return apsPlantMapper.insertApsPlant(apsPlant);
    }
@@ -77,7 +81,7 @@
     * @return 结果
     */
    @Override
    public int deleteApsPlantByIds(Long[] ids)
    public int deleteApsPlantByIds(String[] ids)
    {
        return apsPlantMapper.deleteApsPlantByIds(ids);
    }
@@ -89,7 +93,7 @@
     * @return 结果
     */
    @Override
    public int deleteApsPlantById(Long id)
    public int deleteApsPlantById(String id)
    {
        return apsPlantMapper.deleteApsPlantById(id);
    }