| | |
| | | package com.example.springboot.controller; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.Collection; |
| | | import java.util.Collections; |
| | | import java.util.HashMap; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | import org.apache.logging.log4j.util.PropertySource.Comparator; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | |
| | | import com.example.springboot.mapper.HomeMapper; |
| | | import com.example.springboot.mapper.SpianMapper; |
| | | import com.example.springboot.service.HomeService; |
| | | import com.example.springboot.service.MultiFieldComparator; |
| | | import com.example.springboot.service.SpianService; |
| | | import com.example.springboot.common.Result; |
| | | import com.example.springboot.component.S7control; |
| | |
| | | map.put("message", "300"); |
| | | } else { |
| | | homeMapper.Inglassid(north_glass_buffer1s, cage, cell, tier); |
| | | spianMapper.UpdataAddCage1(north_glass_buffer1s.getglasslengthMm(), cage, cell); |
| | | spianMapper.UpdataAddCage1(north_glass_buffer1s.getglasslengthmm(), cage, cell); |
| | | } |
| | | return Result.success(map); |
| | | } |
| | |
| | | } else { |
| | | homeMapper.InsertQueueGlassId(glassid, id); |
| | | //调用伍存储过程 |
| | | spianMapper.selectAll(glassid); |
| | | spianService.selectAll(glassid); |
| | | map.put("message", "200"); |
| | | } |
| | | return Result.success(map); |