| | |
| | | public class dt_batchinfoService : ServiceBase<dt_batchInfo, IRepository<dt_batchInfo>>, Idt_BatchinfoService |
| | | { |
| | | private readonly IMapper _mapper; |
| | | public override PageGridData<dt_batchInfo> GetPageData(PageDataOptions options) |
| | | { |
| | | return base.GetPageData(options); |
| | | } |
| | | /// <summary> |
| | | /// ä»å¨å±(æ°æ®åºè®¿é®) |
| | | /// </summary> |
| | |
| | | /// </summary> |
| | | /// <param name="batch"></param> |
| | | /// <returns></returns> |
| | | public WebResponseContent UpdateOutStorageMode(int mode) |
| | | public WebResponseContent UpdateOutStorageMode(int isout) |
| | | { |
| | | WebResponseContent content = new WebResponseContent(); |
| | | try |
| | | { |
| | | var batchibfo = BaseDal.QueryFirst(v => v.Id == 1); |
| | | batchibfo.materType = mode; |
| | | batchibfo.materType = isout; |
| | | BaseDal.UpdateData(batchibfo); |
| | | |
| | | content = WebResponseContent.Instance.OK(); |