Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
830f8136cc
|
|
@ -28,7 +28,7 @@ import java.util.Set;
|
|||
*/
|
||||
@Slf4j
|
||||
@Controller
|
||||
@RequestMapping("customer/bankcard")
|
||||
@RequestMapping("/customer/bankcard")
|
||||
public class CustomerBankController {
|
||||
|
||||
@Resource
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@ import com.ghy.worker.service.WorkerService;
|
|||
import com.github.pagehelper.PageInfo;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
||||
import org.apache.shiro.util.CollectionUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.ui.ModelMap;
|
||||
|
|
@ -88,7 +89,7 @@ public class OrderMasterController extends BaseController {
|
|||
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));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue