| | |
| | | int billMode = -1; |
| | | string remarks = string.Empty; |
| | | string paperMP = string.Empty; |
| | | |
| | | string pageNumsbs = string.Empty; |
| | | int printBoxNumber = 0; |
| | | int printCountByBox = 0; |
| | | int cupType = 0; |
| | |
| | | remarks = request["remarks"].ToString(); |
| | | if (request["pNameMP"] != null) |
| | | paperMP = request["pNameMP"].ToString(); |
| | | if (request["pageNumsbs"] != null) |
| | | pageNumsbs = request["pageNumsbs"].ToString(); |
| | | if (request["printBoxNumber"] != null) |
| | | printBoxNumber = request["printBoxNumber"].ToString().ToInt32().Value; |
| | | if (request["printCountByBox"] != null) |
| | |
| | | model.BillMode = billMode; |
| | | model.Remarks = remarks; |
| | | model.PaperMP = paperMP; |
| | | model.pageNumsbs = pageNumsbs; |
| | | model.PrintBoxNumber = printBoxNumber; |
| | | model.CupType = cupType; |
| | | model.PrintColor = printColor; |
| | |
| | | typeModel = _multipleTypeInfoBLL.GetModel(model.PaperMP.ToInt32().Value); |
| | | printDemand += typeModel.TypeNmae + "," + model.PrintColor; |
| | | } |
| | | else if (model.PrintTypeId == 38) //书刊 |
| | | { |
| | | if (request["papershijuan"] != null) |
| | | { |
| | | model.papershijuan = request["papershijuan"].ToString(); |
| | | printDemand += " 试卷:纸张:" + model.papershijuan + ","; |
| | | } |
| | | |
| | | |
| | | if (request["paperSize"] != null) |
| | | { |
| | | model.PrintSizeId = request["paperSize"].ToString().ToInt32().Value; |
| | | if (model.PrintSizeId != -1) |
| | | { |
| | | SysInquiry_PaperSizeDetail paperSize = _paperSizeDetailBLL.GetPaperSizeDetail(model.PrintTypeId, model.PrintSizeId); |
| | | model.PrintSizeName = paperSize.Name; |
| | | printDemand += "成品尺寸:4P " + paperSize.Name + ","; |
| | | } |
| | | else if (model.PrintSizeId == -1) |
| | | { |
| | | model.PrintSizeName = request["txtFirstSize"].ToString() + "×" + request["txtSecondSize"].ToString(); |
| | | model.firstSize = request["txtFirstSize"].ToString(); |
| | | model.secondSize = request["txtSecondSize"].ToString(); |
| | | printDemand += "成品尺寸:4P " + model.PrintSizeName + ","; |
| | | } |
| | | } |
| | | |
| | | |
| | | if (request["paperSize6P"] != null) |
| | | { |
| | | model.paperSize6P = request["paperSize6P"].ToString(); |
| | | if (model.paperSize6P == "-1") |
| | | { |
| | | model.PrintSizeName6P = request["txtFirstSize6P"].ToString() + "×" + request["txtSecondSize6P"].ToString(); |
| | | model.firstSize6P = request["txtFirstSize6P"].ToString(); |
| | | model.secondSize6P = request["txtSecondSize6P"].ToString(); |
| | | printDemand += "6P " + model.PrintSizeName + ","; |
| | | } |
| | | else |
| | | { |
| | | printDemand += "6P " + model.paperSize6P + ","; |
| | | } |
| | | } |
| | | |
| | | if (request["paperSize8P"] != null) |
| | | { |
| | | model.paperSize8P = request["paperSize8P"].ToString(); |
| | | if (model.paperSize8P == "-1") |
| | | { |
| | | model.PrintSizeName8P = request["txtFirstSize8P"].ToString() + "×" + request["txtSecondSize8P"].ToString(); |
| | | model.firstSize8P = request["txtFirstSize8P"].ToString(); |
| | | model.secondSize8P = request["txtSecondSize8P"].ToString(); |
| | | printDemand += "8P " + model.PrintSizeName + ","; |
| | | } |
| | | else |
| | | { |
| | | printDemand += "8P " + model.paperSize8P + ","; |
| | | } |
| | | } |
| | | |
| | | if (request["papershijuan"] != null) |
| | | { |
| | | model.printColorshijuan = request["printColorshijuan"].ToString(); |
| | | printDemand += "试卷袋纸张:" + model.printColorshijuan + ","; |
| | | } |
| | | |
| | | if (request["paper1"] != null) |
| | | { |
| | | model.paper1 = request["paper1"].ToString(); |
| | | printDemand += "答题卡:纸张:" + model.paper1 + ","; |
| | | } |
| | | |
| | | |
| | | |
| | | if (request["paperSizeA4"] != null) |
| | | { |
| | | model.paperSizeA4 = request["paperSizeA4"].ToString(); |
| | | if (model.paperSizeA4 == "-1") |
| | | { |
| | | model.PrintSizeNameA4 = request["txtFirstSizeA4"].ToString() + "×" + request["txtSecondSizeA4"].ToString(); |
| | | model.firstSizeA4 = request["txtFirstSizeA4"].ToString(); |
| | | model.secondSizeA4 = request["txtSecondSizeA4"].ToString(); |
| | | printDemand += "成品尺寸:A4 " + model.PrintSizeNameA4 + ","; |
| | | } |
| | | else |
| | | { |
| | | printDemand += "成品尺寸:A4 " + model.paperSizeA4 + ","; |
| | | } |
| | | } |
| | | |
| | | if (request["paperSizeA3"] != null) |
| | | { |
| | | model.paperSizeA3 = request["paperSizeA3"].ToString(); |
| | | if (model.paperSizeA3 == "-1") |
| | | { |
| | | model.PrintSizeNameA3 = request["txtFirstSizeA3"].ToString() + "×" + request["txtSecondSizeA3"].ToString(); |
| | | model.firstSizeA3 = request["txtFirstSizeA3"].ToString(); |
| | | model.secondSizeA3 = request["txtSecondSizeA3"].ToString(); |
| | | printDemand += "A3 " + model.PrintSizeName + ","; |
| | | } |
| | | else |
| | | { |
| | | printDemand += "A3 " + model.paperSizeA3 + ","; |
| | | } |
| | | } |
| | | if (request["printColor1"] != null) |
| | | { |
| | | model.printColor1 = request["printColor1"].ToString(); |
| | | printDemand += "印刷颜色:" + model.printColor1 + ","; |
| | | } |
| | | |
| | | if (request["printColor2"] != null) |
| | | { |
| | | model.printColor2 = request["printColor2"].ToString(); |
| | | printDemand += "答题卡袋纸张:" + model.printColor2 + ","; |
| | | } |
| | | |
| | | |
| | | InquirySHiJuanModel inquirySHiJuanModel = null; |
| | | |
| | | if (request["selNianji"] != null) |
| | | { |
| | | var sss = request["selNianji"].Split(',').Length; |
| | | string[] selNianji = request["selNianji"]?.Split(','); |
| | | string[] txtRenshu = request["txtRenshu"]?.Split(','); |
| | | |
| | | string[] yuwencheckboxinput = request["yuwencheckboxinput"]?.Split(','); |
| | | string[] yuwenselect = request["yuwenselect"]?.Split(','); |
| | | string[] shuxuecheckboxinput = request["shuxuecheckboxinput"]?.Split(','); |
| | | string[] shuxueselect = request["shuxueselect"]?.Split(','); |
| | | string[] yingyucheckboxinput = request["yingyucheckboxinput"]?.Split(','); |
| | | string[] yingyuselect = request["yingyuselect"]?.Split(','); |
| | | string[] pingdecheckboxinput = request["pingdecheckboxinput"]?.Split(','); |
| | | string[] pingdeselect = request["pingdeselect"]?.Split(','); |
| | | string[] kexuecheckboxinput = request["kexuecheckboxinput"]?.Split(','); |
| | | string[] kexueselect = request["kexueselect"]?.Split(','); |
| | | string[] lishicheckboxinput = request["lishicheckboxinput"]?.Split(','); |
| | | string[] lishiselect = request["lishiselect"]?.Split(','); |
| | | string[] dilicheckboxinput = request["dilicheckboxinput"]?.Split(','); |
| | | string[] diliselect = request["diliselect"]?.Split(','); |
| | | string[] shengwucheckboxinput = request["shengwucheckboxinput"]?.Split(','); |
| | | string[] shengwuselect = request["shengwuselect"]?.Split(','); |
| | | string[] wulicheckboxinput = request["wulicheckboxinput"]?.Split(','); |
| | | string[] wuliselect = request["wuliselect"]?.Split(','); |
| | | string[] huaxuecheckboxinput = request["huaxuecheckboxinput"]?.Split(','); |
| | | string[] huaxueselect = request["huaxueselect"]?.Split(','); |
| | | string[] zhengzhicheckboxinput = request["zhengzhicheckboxinput"]?.Split(','); |
| | | string[] zhengzhiselect = request["zhengzhiselect"]?.Split(','); |
| | | string[] sixiangpingdecheckboxinput = request["sixiangpingdecheckboxinput"]?.Split(','); |
| | | string[] sixiangpingdeselect = request["sixiangpingdeselect"]?.Split(','); |
| | | |
| | | |
| | | string[] yuwendatikacheckboxinput = request["yuwendatikacheckboxinput"]?.Split(','); |
| | | string[] yuwendatikaselect = request["yuwendatikaselect"]?.Split(','); |
| | | string[] shuxuedatikacheckboxinput = request["shuxuedatikacheckboxinput"]?.Split(','); |
| | | string[] shuxuedatikaselect = request["shuxuedatikaselect"]?.Split(','); |
| | | string[] yingyudatikacheckboxinput = request["yingyudatikacheckboxinput"]?.Split(','); |
| | | string[] yingyudatikaselect = request["yingyudatikaselect"]?.Split(','); |
| | | string[] pingdedatikacheckboxinput = request["pingdedatikacheckboxinput"]?.Split(','); |
| | | string[] pingdedatikaselect = request["pingdedatikaselect"]?.Split(','); |
| | | string[] kexuedatikacheckboxinput = request["kexuedatikacheckboxinput"]?.Split(','); |
| | | string[] kexuedatikaselect = request["kexuedatikaselect"]?.Split(','); |
| | | string[] lishidatikacheckboxinput = request["lishidatikacheckboxinput"]?.Split(','); |
| | | string[] lishidatikaselect = request["lishidatikaselect"]?.Split(','); |
| | | string[] dilidatikacheckboxinput = request["dilidatikacheckboxinput"]?.Split(','); |
| | | string[] dilidatikaselect = request["dilidatikaselect"]?.Split(','); |
| | | string[] shengwudatikacheckboxinput = request["shengwudatikacheckboxinput"]?.Split(','); |
| | | string[] shengwudatikaselect = request["shengwudatikaselect"]?.Split(','); |
| | | string[] wulidatikacheckboxinput = request["wulidatikacheckboxinput"]?.Split(','); |
| | | string[] wulidatikaselect = request["wulidatikaselect"]?.Split(','); |
| | | string[] huaxuedatikacheckboxinput = request["huaxuedatikacheckboxinput"]?.Split(','); |
| | | string[] huaxuedatikaselect = request["huaxuedatikaselect"]?.Split(','); |
| | | string[] zhengzhidatikacheckboxinput = request["zhengzhidatikacheckboxinput"]?.Split(','); |
| | | string[] zhengzhidatikaselect = request["zhengzhidatikaselect"]?.Split(','); |
| | | string[] sixiangpingdedatikacheckboxinput = request["sixiangpingdedatikacheckboxinput"]?.Split(','); |
| | | string[] sixiangpingdedatikaselect = request["sixiangpingdedatikaselect"]?.Split(','); |
| | | |
| | | for (int i=0;i< sss; i++) |
| | | { |
| | | inquirySHiJuanModel = new InquirySHiJuanModel(); |
| | | |
| | | inquirySHiJuanModel.Nianji = selNianji[i]; |
| | | printDemand += (i+1) + "年级:" + inquirySHiJuanModel.Nianji + ","; |
| | | inquirySHiJuanModel.txtRenshu = txtRenshu[i]; |
| | | printDemand += "人数:" + inquirySHiJuanModel.txtRenshu + ","; |
| | | |
| | | inquirySHiJuanModel.yuwencheckboxinput = yuwencheckboxinput[i]; |
| | | |
| | | inquirySHiJuanModel.yuwenselect = yuwenselect[i]; |
| | | |
| | | inquirySHiJuanModel.shuxuecheckboxinput = shuxuecheckboxinput[i]; |
| | | inquirySHiJuanModel.shuxueselect = shuxueselect[i]; |
| | | inquirySHiJuanModel.yingyucheckboxinput = yingyucheckboxinput[i]; |
| | | inquirySHiJuanModel.yingyuselect = yingyuselect[i]; |
| | | inquirySHiJuanModel.pingdecheckboxinput = pingdecheckboxinput[i]; |
| | | inquirySHiJuanModel.pingdeselect = pingdeselect[i]; |
| | | inquirySHiJuanModel.kexuecheckboxinput = kexuecheckboxinput[i]; |
| | | inquirySHiJuanModel.kexueselect = kexueselect[i]; |
| | | inquirySHiJuanModel.lishicheckboxinput = lishicheckboxinput[i]; |
| | | inquirySHiJuanModel.lishiselect = lishiselect[i]; |
| | | inquirySHiJuanModel.dilicheckboxinput = dilicheckboxinput[i]; |
| | | inquirySHiJuanModel.diliselect = diliselect[i]; |
| | | inquirySHiJuanModel.shengwucheckboxinput = shengwucheckboxinput[i]; |
| | | inquirySHiJuanModel.shengwuselect = shengwuselect[i]; |
| | | inquirySHiJuanModel.wulicheckboxinput = wulicheckboxinput[i]; |
| | | inquirySHiJuanModel.wuliselect = wuliselect[i]; |
| | | inquirySHiJuanModel.huaxuecheckboxinput = huaxuecheckboxinput[i]; |
| | | inquirySHiJuanModel.huaxueselect = huaxueselect[i]; |
| | | inquirySHiJuanModel.zhengzhicheckboxinput = zhengzhicheckboxinput[i]; |
| | | inquirySHiJuanModel.zhengzhiselect = zhengzhiselect[i]; |
| | | inquirySHiJuanModel.sixiangpingdecheckboxinput = sixiangpingdecheckboxinput[i]; |
| | | inquirySHiJuanModel.sixiangpingdeselect = sixiangpingdeselect[i]; |
| | | |
| | | |
| | | |
| | | inquirySHiJuanModel.yuwendatikacheckboxinput = yuwendatikacheckboxinput[i]; |
| | | inquirySHiJuanModel.yuwendatikaselect = yuwendatikaselect[i]; |
| | | inquirySHiJuanModel.shuxuedatikacheckboxinput = shuxuedatikacheckboxinput[i]; |
| | | inquirySHiJuanModel.shuxuedatikaselect = shuxuedatikaselect[i]; |
| | | inquirySHiJuanModel.yingyudatikacheckboxinput = yingyudatikacheckboxinput[i]; |
| | | inquirySHiJuanModel.yingyudatikaselect = yingyudatikaselect[i]; |
| | | inquirySHiJuanModel.pingdedatikacheckboxinput = pingdedatikacheckboxinput[i]; |
| | | inquirySHiJuanModel.pingdedatikaselect = pingdedatikaselect[i]; |
| | | inquirySHiJuanModel.kexuedatikacheckboxinput = kexuedatikacheckboxinput[i]; |
| | | inquirySHiJuanModel.kexuedatikaselect = kexuedatikaselect[i]; |
| | | inquirySHiJuanModel.lishidatikacheckboxinput = lishidatikacheckboxinput[i]; |
| | | inquirySHiJuanModel.lishidatikaselect = lishidatikaselect[i]; |
| | | inquirySHiJuanModel.dilidatikacheckboxinput = dilidatikacheckboxinput[i]; |
| | | inquirySHiJuanModel.dilidatikaselect = dilidatikaselect[i]; |
| | | inquirySHiJuanModel.shengwudatikacheckboxinput = shengwudatikacheckboxinput[i]; |
| | | inquirySHiJuanModel.shengwudatikaselect = shengwudatikaselect[i]; |
| | | inquirySHiJuanModel.wulidatikacheckboxinput = wulidatikacheckboxinput[i]; |
| | | inquirySHiJuanModel.wulidatikaselect = wulidatikaselect[i]; |
| | | inquirySHiJuanModel.huaxuedatikacheckboxinput = huaxuedatikacheckboxinput[i]; |
| | | inquirySHiJuanModel.huaxuedatikaselect = huaxuedatikaselect[i]; |
| | | inquirySHiJuanModel.zhengzhidatikacheckboxinput = zhengzhidatikacheckboxinput[i]; |
| | | inquirySHiJuanModel.zhengzhidatikaselect = zhengzhidatikaselect[i]; |
| | | inquirySHiJuanModel.sixiangpingdedatikacheckboxinput = sixiangpingdedatikacheckboxinput[i]; |
| | | inquirySHiJuanModel.sixiangpingdedatikaselect = sixiangpingdedatikaselect[i]; |
| | | |
| | | if (inquirySHiJuanModel.Nianji != "高校试卷") |
| | | { |
| | | printDemand += "试卷:"; |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.yuwencheckboxinput)) |
| | | { |
| | | printDemand += "语文:" + inquirySHiJuanModel.yuwencheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.yuwenselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.shuxuecheckboxinput)) |
| | | { |
| | | printDemand += "数学:" + inquirySHiJuanModel.shuxuecheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.shuxueselect + ","; |
| | | } |
| | | |
| | | } |
| | | |
| | | |
| | | |
| | | if (inquirySHiJuanModel.Nianji == "一年级" || inquirySHiJuanModel.Nianji == "二年级") |
| | | { |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.pingdecheckboxinput)) |
| | | { |
| | | printDemand += "品德与生活:" + inquirySHiJuanModel.pingdecheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.pingdeselect + ","; |
| | | } |
| | | |
| | | } |
| | | else if (inquirySHiJuanModel.Nianji == "三年级" || inquirySHiJuanModel.Nianji == "四年级" || inquirySHiJuanModel.Nianji == "五年级" || inquirySHiJuanModel.Nianji == "六年级") |
| | | { |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.yingyucheckboxinput)) |
| | | { |
| | | printDemand += "英语:" + inquirySHiJuanModel.yingyucheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.yingyuselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.kexuecheckboxinput)) |
| | | { |
| | | printDemand += "科学:" + inquirySHiJuanModel.kexuecheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.kexueselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.pingdecheckboxinput)) |
| | | { |
| | | printDemand += "品德与生活:" + inquirySHiJuanModel.pingdecheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.pingdeselect + ","; |
| | | } |
| | | |
| | | |
| | | |
| | | } |
| | | else if (inquirySHiJuanModel.Nianji == "七年级") |
| | | { |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.yingyucheckboxinput)) |
| | | { |
| | | printDemand += "英语:" + inquirySHiJuanModel.yingyucheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.yingyuselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.lishicheckboxinput)) |
| | | { |
| | | printDemand += "历史:" + inquirySHiJuanModel.lishicheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.lishiselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.dilicheckboxinput)) |
| | | { |
| | | printDemand += "地理:" + inquirySHiJuanModel.dilicheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.diliselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.shengwucheckboxinput)) |
| | | { |
| | | printDemand += "生物:" + inquirySHiJuanModel.shengwucheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.shengwuselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.sixiangpingdecheckboxinput)) |
| | | { |
| | | printDemand += "思想品德:" + inquirySHiJuanModel.sixiangpingdecheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.sixiangpingdeselect + ","; |
| | | } |
| | | |
| | | |
| | | |
| | | printDemand += "答题卡:"; |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.yuwendatikacheckboxinput)) |
| | | { |
| | | printDemand += "语文:" + inquirySHiJuanModel.yuwendatikacheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.yuwendatikaselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.shuxuedatikacheckboxinput)) |
| | | { |
| | | printDemand += "数学:" + inquirySHiJuanModel.shuxuedatikacheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.shuxuedatikaselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.yingyudatikacheckboxinput)) |
| | | { |
| | | printDemand += "英语:" + inquirySHiJuanModel.yingyudatikacheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.yingyudatikaselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.lishidatikacheckboxinput)) |
| | | { |
| | | printDemand += "历史:" + inquirySHiJuanModel.lishidatikacheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.lishidatikaselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.dilidatikacheckboxinput)) |
| | | { |
| | | printDemand += "地理:" + inquirySHiJuanModel.dilidatikacheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.dilidatikaselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.shengwudatikacheckboxinput)) |
| | | { |
| | | printDemand += "生物:" + inquirySHiJuanModel.shengwudatikacheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.shengwudatikaselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.sixiangpingdedatikacheckboxinput)) |
| | | { |
| | | printDemand += "思想品德:" + inquirySHiJuanModel.sixiangpingdedatikacheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.sixiangpingdedatikaselect + ","; |
| | | } |
| | | } |
| | | else if (inquirySHiJuanModel.Nianji == "八年级") |
| | | { |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.yingyucheckboxinput)) |
| | | { |
| | | printDemand += "英语:" + inquirySHiJuanModel.yingyucheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.yingyuselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.lishicheckboxinput)) |
| | | { |
| | | printDemand += "历史:" + inquirySHiJuanModel.lishicheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.lishiselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.dilicheckboxinput)) |
| | | { |
| | | printDemand += "地理:" + inquirySHiJuanModel.dilicheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.diliselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.shengwucheckboxinput)) |
| | | { |
| | | printDemand += "生物:" + inquirySHiJuanModel.shengwucheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.shengwuselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.wulicheckboxinput)) |
| | | { |
| | | printDemand += "物理:" + inquirySHiJuanModel.wulicheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.wuliselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.sixiangpingdecheckboxinput)) |
| | | { |
| | | printDemand += "思想品德:" + inquirySHiJuanModel.sixiangpingdecheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.sixiangpingdeselect + ","; |
| | | } |
| | | |
| | | printDemand += "答题卡:"; |
| | | |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.yuwendatikacheckboxinput)) |
| | | { |
| | | printDemand += "语文:" + inquirySHiJuanModel.yuwendatikacheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.yuwendatikaselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.shuxuedatikacheckboxinput)) |
| | | { |
| | | printDemand += "数学:" + inquirySHiJuanModel.shuxuedatikacheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.shuxuedatikaselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.yingyudatikacheckboxinput)) |
| | | { |
| | | printDemand += "英语:" + inquirySHiJuanModel.yingyudatikacheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.yingyudatikaselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.lishidatikacheckboxinput)) |
| | | { |
| | | printDemand += "历史:" + inquirySHiJuanModel.lishidatikacheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.lishidatikaselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.dilidatikacheckboxinput)) |
| | | { |
| | | printDemand += "地理:" + inquirySHiJuanModel.dilidatikacheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.dilidatikaselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.shengwudatikacheckboxinput)) |
| | | { |
| | | printDemand += "生物:" + inquirySHiJuanModel.shengwudatikacheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.shengwudatikaselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.wulidatikacheckboxinput)) |
| | | { |
| | | printDemand += "物理:" + inquirySHiJuanModel.wulidatikacheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.wulidatikaselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.sixiangpingdedatikacheckboxinput)) |
| | | { |
| | | printDemand += "思想品德:" + inquirySHiJuanModel.sixiangpingdedatikacheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.sixiangpingdedatikaselect + ","; |
| | | } |
| | | |
| | | |
| | | } |
| | | else if (inquirySHiJuanModel.Nianji == "九年级") |
| | | { |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.yingyucheckboxinput)) |
| | | { |
| | | printDemand += "英语:" + inquirySHiJuanModel.yingyucheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.yingyuselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.lishicheckboxinput)) |
| | | { |
| | | printDemand += "历史:" + inquirySHiJuanModel.lishicheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.lishiselect + ","; |
| | | } |
| | | |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.wulicheckboxinput)) |
| | | { |
| | | printDemand += "物理:" + inquirySHiJuanModel.wulicheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.wuliselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.huaxuecheckboxinput)) |
| | | { |
| | | printDemand += "化学:" + inquirySHiJuanModel.huaxuecheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.huaxueselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.sixiangpingdecheckboxinput)) |
| | | { |
| | | printDemand += "思想品德:" + inquirySHiJuanModel.sixiangpingdecheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.sixiangpingdeselect + ","; |
| | | } |
| | | |
| | | printDemand += "答题卡:"; |
| | | |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.yuwendatikacheckboxinput)) |
| | | { |
| | | printDemand += "语文:" + inquirySHiJuanModel.yuwendatikacheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.yuwendatikaselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.shuxuedatikacheckboxinput)) |
| | | { |
| | | printDemand += "数学:" + inquirySHiJuanModel.shuxuedatikacheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.shuxuedatikaselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.yingyudatikacheckboxinput)) |
| | | { |
| | | printDemand += "英语:" + inquirySHiJuanModel.yingyudatikacheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.yingyudatikaselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.lishidatikacheckboxinput)) |
| | | { |
| | | printDemand += "历史:" + inquirySHiJuanModel.lishidatikacheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.lishidatikaselect + ","; |
| | | } |
| | | |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.wulidatikacheckboxinput)) |
| | | { |
| | | printDemand += "物理:" + inquirySHiJuanModel.wulidatikacheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.wulidatikaselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.huaxuedatikacheckboxinput)) |
| | | { |
| | | printDemand += "化学:" + inquirySHiJuanModel.huaxuedatikacheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.huaxuedatikaselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.sixiangpingdedatikacheckboxinput)) |
| | | { |
| | | printDemand += "思想品德:" + inquirySHiJuanModel.sixiangpingdedatikacheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.sixiangpingdedatikaselect + ","; |
| | | } |
| | | |
| | | |
| | | } |
| | | else if (inquirySHiJuanModel.Nianji == "高一") |
| | | { |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.yingyucheckboxinput)) |
| | | { |
| | | printDemand += "英语:" + inquirySHiJuanModel.yingyucheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.yingyuselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.lishicheckboxinput)) |
| | | { |
| | | printDemand += "历史:" + inquirySHiJuanModel.lishicheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.lishiselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.dilicheckboxinput)) |
| | | { |
| | | printDemand += "地理:" + inquirySHiJuanModel.dilicheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.diliselect + ","; |
| | | } |
| | | |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.wulicheckboxinput)) |
| | | { |
| | | printDemand += "物理:" + inquirySHiJuanModel.wulicheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.wuliselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.huaxuecheckboxinput)) |
| | | { |
| | | printDemand += "化学:" + inquirySHiJuanModel.huaxuecheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.huaxueselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.zhengzhicheckboxinput)) |
| | | { |
| | | printDemand += "政治:" + inquirySHiJuanModel.zhengzhicheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.zhengzhiselect + ","; |
| | | } |
| | | |
| | | printDemand += "答题卡:"; |
| | | |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.yuwendatikacheckboxinput)) |
| | | { |
| | | printDemand += "语文:" + inquirySHiJuanModel.yuwendatikacheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.yuwendatikaselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.shuxuedatikacheckboxinput)) |
| | | { |
| | | printDemand += "数学:" + inquirySHiJuanModel.shuxuedatikacheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.shuxuedatikaselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.yingyudatikacheckboxinput)) |
| | | { |
| | | printDemand += "英语:" + inquirySHiJuanModel.yingyudatikacheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.yingyudatikaselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.lishidatikacheckboxinput)) |
| | | { |
| | | printDemand += "历史:" + inquirySHiJuanModel.lishidatikacheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.lishidatikaselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.dilidatikacheckboxinput)) |
| | | { |
| | | printDemand += "地理:" + inquirySHiJuanModel.dilidatikacheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.dilidatikaselect + ","; |
| | | } |
| | | |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.wulidatikacheckboxinput)) |
| | | { |
| | | printDemand += "物理:" + inquirySHiJuanModel.wulidatikacheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.wulidatikaselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.huaxuedatikacheckboxinput)) |
| | | { |
| | | printDemand += "化学:" + inquirySHiJuanModel.huaxuedatikacheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.huaxuedatikaselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.zhengzhidatikacheckboxinput)) |
| | | { |
| | | printDemand += "政治:" + inquirySHiJuanModel.zhengzhidatikacheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.zhengzhidatikaselect + ","; |
| | | } |
| | | |
| | | } |
| | | else if (inquirySHiJuanModel.Nianji == "高二") |
| | | { |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.yingyucheckboxinput)) |
| | | { |
| | | printDemand += "英语:" + inquirySHiJuanModel.yingyucheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.yingyuselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.lishicheckboxinput)) |
| | | { |
| | | printDemand += "历史:" + inquirySHiJuanModel.lishicheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.lishiselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.dilicheckboxinput)) |
| | | { |
| | | printDemand += "地理:" + inquirySHiJuanModel.dilicheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.diliselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.shengwucheckboxinput)) |
| | | { |
| | | printDemand += "生物:" + inquirySHiJuanModel.shengwucheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.shengwuselect + ","; |
| | | } |
| | | |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.wulicheckboxinput)) |
| | | { |
| | | printDemand += "物理:" + inquirySHiJuanModel.wulicheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.wuliselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.huaxuecheckboxinput)) |
| | | { |
| | | printDemand += "化学:" + inquirySHiJuanModel.huaxuecheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.huaxueselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.zhengzhicheckboxinput)) |
| | | { |
| | | printDemand += "政治:" + inquirySHiJuanModel.zhengzhicheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.zhengzhiselect + ","; |
| | | } |
| | | |
| | | printDemand += "答题卡:"; |
| | | |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.yuwendatikacheckboxinput)) |
| | | { |
| | | printDemand += "语文:" + inquirySHiJuanModel.yuwendatikacheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.yuwendatikaselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.shuxuedatikacheckboxinput)) |
| | | { |
| | | printDemand += "数学:" + inquirySHiJuanModel.shuxuedatikacheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.shuxuedatikaselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.yingyudatikacheckboxinput)) |
| | | { |
| | | printDemand += "英语:" + inquirySHiJuanModel.yingyudatikacheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.yingyudatikaselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.lishidatikacheckboxinput)) |
| | | { |
| | | printDemand += "历史:" + inquirySHiJuanModel.lishidatikacheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.lishidatikaselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.dilidatikacheckboxinput)) |
| | | { |
| | | printDemand += "地理:" + inquirySHiJuanModel.dilidatikacheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.dilidatikaselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.shengwudatikacheckboxinput)) |
| | | { |
| | | printDemand += "生物:" + inquirySHiJuanModel.shengwudatikacheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.shengwudatikaselect + ","; |
| | | } |
| | | |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.wulidatikacheckboxinput)) |
| | | { |
| | | printDemand += "物理:" + inquirySHiJuanModel.wulidatikacheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.wulidatikaselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.huaxuedatikacheckboxinput)) |
| | | { |
| | | printDemand += "化学:" + inquirySHiJuanModel.huaxuedatikacheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.huaxuedatikaselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.zhengzhidatikacheckboxinput)) |
| | | { |
| | | printDemand += "政治:" + inquirySHiJuanModel.zhengzhidatikacheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.zhengzhidatikaselect + ","; |
| | | } |
| | | |
| | | |
| | | } |
| | | else if (inquirySHiJuanModel.Nianji == "高三") |
| | | { |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.yingyucheckboxinput)) |
| | | { |
| | | printDemand += "英语:" + inquirySHiJuanModel.yingyucheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.yingyuselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.lishicheckboxinput)) |
| | | { |
| | | printDemand += "历史:" + inquirySHiJuanModel.lishicheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.lishiselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.dilicheckboxinput)) |
| | | { |
| | | printDemand += "地理:" + inquirySHiJuanModel.dilicheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.diliselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.shengwucheckboxinput)) |
| | | { |
| | | printDemand += "生物:" + inquirySHiJuanModel.shengwucheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.shengwuselect + ","; |
| | | } |
| | | |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.wulicheckboxinput)) |
| | | { |
| | | printDemand += "物理:" + inquirySHiJuanModel.wulicheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.wuliselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.huaxuecheckboxinput)) |
| | | { |
| | | printDemand += "化学:" + inquirySHiJuanModel.huaxuecheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.huaxueselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.zhengzhicheckboxinput)) |
| | | { |
| | | printDemand += "政治:" + inquirySHiJuanModel.zhengzhicheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.zhengzhiselect + ","; |
| | | } |
| | | |
| | | printDemand += "答题卡:"; |
| | | |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.yuwendatikacheckboxinput)) |
| | | { |
| | | printDemand += "语文:" + inquirySHiJuanModel.yuwendatikacheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.yuwendatikaselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.shuxuedatikacheckboxinput)) |
| | | { |
| | | printDemand += "数学:" + inquirySHiJuanModel.shuxuedatikacheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.shuxuedatikaselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.yingyudatikacheckboxinput)) |
| | | { |
| | | printDemand += "英语:" + inquirySHiJuanModel.yingyudatikacheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.yingyudatikaselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.lishidatikacheckboxinput)) |
| | | { |
| | | printDemand += "历史:" + inquirySHiJuanModel.lishidatikacheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.lishidatikaselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.dilidatikacheckboxinput)) |
| | | { |
| | | printDemand += "地理:" + inquirySHiJuanModel.dilidatikacheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.dilidatikaselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.shengwudatikacheckboxinput)) |
| | | { |
| | | printDemand += "生物:" + inquirySHiJuanModel.shengwudatikacheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.shengwudatikaselect + ","; |
| | | } |
| | | |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.wulidatikacheckboxinput)) |
| | | { |
| | | printDemand += "物理:" + inquirySHiJuanModel.wulidatikacheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.wulidatikaselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.huaxuedatikacheckboxinput)) |
| | | { |
| | | printDemand += "化学:" + inquirySHiJuanModel.huaxuedatikacheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.huaxuedatikaselect + ","; |
| | | } |
| | | if (!string.IsNullOrEmpty(inquirySHiJuanModel.zhengzhidatikacheckboxinput)) |
| | | { |
| | | printDemand += "政治:" + inquirySHiJuanModel.zhengzhidatikacheckboxinput + "张,"; |
| | | printDemand += inquirySHiJuanModel.zhengzhidatikaselect + ","; |
| | | } |
| | | |
| | | }else if (inquirySHiJuanModel.Nianji == "高校试卷") |
| | | { |
| | | |
| | | } |
| | | model.InquirySHiJuanList.Add(inquirySHiJuanModel); |
| | | } |
| | | } |
| | | |
| | | } |
| | | else if (model.PrintTypeId == 32) //广告扑克 |
| | | { |
| | | MultipleTypeInfoBLL _multipleTypeInfoBLL = new MultipleTypeInfoBLL(); |
| | |
| | | printDemand += "," + model.GramWeight + "克"; |
| | | } |
| | | printDemand += "," + model.SingleOrdouble + "," + model.PrintColor; |
| | | } |
| | | else if (model.PrintTypeId == 39) //公文纸 |
| | | { |
| | | |
| | | Sys_DictionaryBLL _sys_DictionaryBLL = new Sys_DictionaryBLL();//字典业务逻辑操作类对象 |
| | | var fengmianzhizhangs = _sys_DictionaryBLL.GetDataByType("公文纸纸张").FirstOrDefault(x => x.MeanValue == model.PaperId); |
| | | model.PrintCountName = model.PrintCount.ToString(); |
| | | |
| | | if (model.PrintSizeId != -1) |
| | | { |
| | | SysInquiry_PaperSizeDetail paperSize = _paperSizeDetailBLL.GetPaperSizeDetail(model.PrintTypeId, model.PrintSizeId); |
| | | printDemand = paperSize.Name + ","; |
| | | model.PrintSizeName = paperSize.Name; |
| | | } |
| | | if (fengmianzhizhangs != null) |
| | | { |
| | | printDemand += fengmianzhizhangs.Name + ","; |
| | | } |
| | | |
| | | |
| | | printDemand += model.PrintColor; |
| | | } |
| | | else if (model.PrintTypeId == 22) //便签 |
| | | { |
| | |
| | | printDemand += ",每本" + model.PageNum + "份,"; |
| | | } |
| | | printDemand += model.RLNum + ","; |
| | | printDemand += model.PrintColor + ","; |
| | | printDemand += "封面要求:"; |
| | | printDemand += model.FrontType; |
| | | printDemand += model.PrintColor + ""; |
| | | |
| | | |
| | | if (model.FrontType != "无封面") |
| | | { |
| | | printDemand += ",封面要求:"; |
| | | printDemand += model.FrontType; |
| | | printDemand += "," + model.pDemand; |
| | | } |
| | | |
| | |
| | | printDemand += model.Shape; |
| | | } |
| | | //判断尺寸 |
| | | if (request["hidOrderId"].ToInt32() >= 0 && model.PrintTypeId != 37) |
| | | if (request["hidOrderId"].ToInt32() >= 0 && model.PrintTypeId != 37 && model.PrintTypeId != 38) |
| | | { |
| | | if (model.PrintSizeId ==-1) |
| | | { |
| | |
| | | if (afterInfo.ParameterName == "胶头") |
| | | { |
| | | if(model.PrintTypeId!=27) |
| | | afterInfo.ParameterName = "胶头(每本" + model.PageNum.ToString() + "页)"; |
| | | afterInfo.ParameterName = "胶头(每本" + model.PageNum.ToString() + "张)"; |
| | | |
| | | if (model.PrintTypeId == 39) |
| | | { |
| | | afterInfo.ParameterName = "胶头(" + model.pageNumsbs.ToString() + ")"; |
| | | } |
| | | } |
| | | if (afterInfo.ParameterName == "胶左") |
| | | { |
| | | if (model.PrintTypeId == 29) |
| | | afterInfo.ParameterName = "胶左(每本" + model.PaperMP.ToString() + "页)"; |
| | | afterInfo.ParameterName = "胶左(每本" + model.PaperMP.ToString() + "张)"; |
| | | } |
| | | afterWorkStr += afterInfo.ParameterName + ","; |
| | | } |
| | |
| | | } |
| | | |
| | | } |
| | | //if (model.PrintTypeId == 27) |
| | | //{ |
| | | // afterWorkStr += "套号号段(" + model.ThStart.ToString() + "-" + model.ThEnd.ToString() + ")"; |
| | | // afterWorkStr += "," + model.JTWZ; |
| | | //} |
| | | |
| | | if (model.PrintTypeId == 25) |
| | | if (model.PrintTypeId == 27) |
| | | { |
| | | if (!string.IsNullOrEmpty(model.JTWZ)) |
| | | { |
| | | afterWorkStr = model.JTWZ ; |
| | | } |
| | | if(!string.IsNullOrEmpty(model.ThStart) || !string.IsNullOrEmpty(model.ThEnd)) |
| | | { |
| | | afterWorkStr += ",套号号段(" + model.ThStart + "-" + model.ThEnd + ")"; |
| | | //afterWorkStr += "," + model.JTWZ; |
| | | } |
| | | } |
| | | |
| | | if (model.PrintTypeId == 25) |
| | | { |
| | | |
| | | InquiryInsideModel insideModel = model.InquiryInsideList[0]; |
| | |
| | | newSize = new SysInquiry_PaperSizeDetail(); |
| | | newSize.KeyId = size.KeyId; |
| | | int index=size.Name.IndexOf('('); |
| | | newSize.Name = size.Name.Substring(0, index); |
| | | if (index >= 0) |
| | | { |
| | | newSize.Name = size.Name.Substring(0, index); |
| | | } |
| | | else |
| | | { |
| | | newSize.Name = size.Name; |
| | | } |
| | | |
| | | tempList = newSizeList.Where(p => p.Name == newSize.Name).ToList<SysInquiry_PaperSizeDetail>(); |
| | | if (tempList == null || tempList.Count == 0) |
| | | { |