| | |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.aps.common.core.utils.DateUtils; |
| | | import com.aps.common.core.utils.uuid.IdUtils; |
| | | import com.aps.core.domain.ApsGasPipingPlanTemp; |
| | | import com.aps.core.domain.ApsPartPlan; |
| | |
| | | public int insertApsGasPipingPlan(ApsGasPipingPlan apsGasPipingPlan) |
| | | { |
| | | apsGasPipingPlan.setId(IdUtils.fastUUID()); |
| | | apsGasPipingPlan.setCreateTime(DateUtils.getNowDate()); |
| | | return apsGasPipingPlanMapper.insertApsGasPipingPlan(apsGasPipingPlan); |
| | | } |
| | | |
| | |
| | | if (count==apsGasPipingPlanTemps.size()) { |
| | | apsGasPipingPlanTempMapper.deleteApsGasPipingPlanTempByIds(ids); |
| | | } |
| | | return 0; |
| | | return 1; |
| | | } |
| | | } |