| | |
| | | |
| | | var query = (from a in _context.OrderBanciDtls |
| | | |
| | | join d in listCode.Where(x => x.CodeTable == "order_banci_dtl" && x.CodeField == "shangxiawu") |
| | | join d in listCode.Where(x => x.CodeTable == "order_banci_order" && x.CodeField == "kechengleixing_id") |
| | | on a.Shangxiawu equals d.CodeSn |
| | | into dzsssss |
| | | from dzzzzz in dzsssss.DefaultIfEmpty() |
| | |
| | | |
| | | |
| | | |
| | | ViewData["shangxiawu"] = _liaotianService.GetSYScode("order_banci_dtl", "shangxiawu"); |
| | | ViewData["shangxiawu"] = _liaotianService.GetSYScode("order_banci_order", "kechengleixing_id"); |
| | | |
| | | |
| | | |
| | |
| | | returnMsg.error = "没有查询到班次"; |
| | | returnMsg.count = 0; |
| | | } |
| | | else |
| | | { |
| | | OrderBanciDtlDTOSearch searchEntity = new OrderBanciDtlDTOSearch(); |
| | | searchEntity.page = 1; |
| | | searchEntity.rows = 1000; |
| | | searchEntity.OrderBanciId = id; |
| | | orderBanciDTO.orderBanciDtlDTOs = _orderBanciDtlService.SearchByPaging(searchEntity).DataList; |
| | | returnMsg.code = 1; |
| | | returnMsg.count = 1; |
| | | returnMsg.returnObj = orderBanciDTO; |
| | | } |
| | | |
| | | returnMsg.code = 1; |
| | | returnMsg.count = 1; |
| | | returnMsg.returnObj = orderBanciDTO; |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | |
| | | |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | |
| | | <label class="text-right col-sm-1 col-md-1 control-label">上下午<i class="red">*</i></label> |
| | | <label class="text-right col-sm-1 col-md-1 control-label">课程类型<i class="red">*</i></label> |
| | | <div class="col-sm-2 col-md-2"> |
| | | <select id="shangxiawu" class="form-control" name="shangxiawu" data-placeholder="选择 序列 ..." style="font-weight:normal;"> |
| | | <option value="" hassubinfo="true">请选择</option> |
| | |
| | | { label: '地点', name: 'Didian', labtype: 'txt', hidden: false, width: 400 }, |
| | | { label: '人数', name: 'Renshu', labtype: 'txt', hidden: false, width: 200 }, |
| | | { |
| | | label: '培训时间', name: 'Creater', labtype: 'txt', hidden: false, width: 100, |
| | | label: '课程类型', name: 'Creater', labtype: 'txt', hidden: false, width: 100, |
| | | formatter: function (cellvalue, options, rowObject) { |
| | | return "<a onclick=\"OpenWindow('" + rowObject.Banci.replace(/'/g, '') + "','98%','100%', '/OrderBanci/IndexDtl?OrderBanciId=" + rowObject.Id + "')\" >培训时间</a>"; |
| | | } |