| | |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper; |
| | | import com.example.erp.common.Constants; |
| | | import com.example.erp.entity.sd.Order; |
| | | import com.example.erp.entity.sd.Product; |
| | | import com.example.erp.entity.sd.ProductDetail; |
| | | import com.example.erp.exception.ServiceException; |
| | |
| | | map.put("detail",productDetailList); |
| | | return map; |
| | | } |
| | | |
| | | public List<Product> otherSysGetProduct() { |
| | | return productMapper.selectList(new QueryWrapper<Product>().eq("state",1) |
| | | .orderByDesc("id")); |
| | | } |
| | | } |