| | |
| | | import com.bstek.dorado.annotation.DataProvider; |
| | | import com.bstek.dorado.annotation.DataResolver; |
| | | import com.bstek.dorado.annotation.Expose; |
| | | import com.fzzy.common.constant.BizTypeEnum; |
| | | import com.fzzy.igds.domain.QuantityConf; |
| | | import com.fzzy.igds.service.DepotService; |
| | | import com.fzzy.igds.service.QuantityService; |
| | | import com.fzzy.igds.utils.ContextUtil; |
| | | import com.ruoyi.common.annotation.Log; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.stereotype.Component; |
| | | import javax.annotation.Resource; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @Description |
| | | * @Author CZT |
| | |
| | | */ |
| | | @DataProvider |
| | | public List<QuantityConf> getConfList() { |
| | | return quantityService.getConfList(null, null); |
| | | return quantityService.getConfList(null, ContextUtil.subDeptId(null)); |
| | | } |
| | | |
| | | /** |
| | |
| | | * @return |
| | | */ |
| | | @Expose |
| | | @Log(title = "删除数量监测参数配置", businessType = BusinessType.DELETE,bizType = BizTypeEnum.GRAIN) |
| | | public String delQuantityConf(QuantityConf conf) { |
| | | QuantityConf quantityConf = new QuantityConf(); |
| | | BeanUtils.copyProperties(conf, quantityConf); |