问题修复
This commit is contained in:
parent
54da5e3c98
commit
f698f94c6a
|
|
@ -28,7 +28,7 @@ import java.util.Set;
|
||||||
*/
|
*/
|
||||||
@Slf4j
|
@Slf4j
|
||||||
@Controller
|
@Controller
|
||||||
@RequestMapping("customer/bankcard")
|
@RequestMapping("/customer/bankcard")
|
||||||
public class CustomerBankController {
|
public class CustomerBankController {
|
||||||
|
|
||||||
@Resource
|
@Resource
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,7 @@ import com.ghy.worker.service.WorkerService;
|
||||||
import com.github.pagehelper.PageInfo;
|
import com.github.pagehelper.PageInfo;
|
||||||
import lombok.RequiredArgsConstructor;
|
import lombok.RequiredArgsConstructor;
|
||||||
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
||||||
|
import org.apache.shiro.util.CollectionUtils;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Controller;
|
import org.springframework.stereotype.Controller;
|
||||||
import org.springframework.ui.ModelMap;
|
import org.springframework.ui.ModelMap;
|
||||||
|
|
@ -88,7 +89,7 @@ public class OrderMasterController extends BaseController {
|
||||||
OrderGoods orderGoods = orderGoodsService.selectByOrderMasterId(master.getId());
|
OrderGoods orderGoods = orderGoodsService.selectByOrderMasterId(master.getId());
|
||||||
|
|
||||||
// 添加商品信息
|
// 添加商品信息
|
||||||
if(goodsStandardService.selectByGoodsId(orderGoods.getGoodsId())!=null){
|
if(!CollectionUtils.isEmpty(goodsStandardService.selectByGoodsId(orderGoods.getGoodsId()))){
|
||||||
orderGoods.setGoodsStandard(goodsStandardService.selectByGoodsId(orderGoods.getGoodsId()).get(0));
|
orderGoods.setGoodsStandard(goodsStandardService.selectByGoodsId(orderGoods.getGoodsId()).get(0));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue