| | |
| | | .andEqualTo("mfFiletype", it.lrEasubmitkind) |
| | | orderBy("mfSavetime").desc() |
| | | } |
| | | ) |
| | | )?.takeIf { it.isNotEmpty() }?.get(0) |
| | | val type = ledgerSubTypeMapper.selectByExample( |
| | | Example(LedgerSubType::class.java).apply { |
| | | createCriteria().andEqualTo("lsSubtypeid", it.lsSubtypeid) |
| | | } |
| | | ) |
| | | result.add(LedgerVo().apply { |
| | | |
| | | id = it.lrGuid |
| | | this.ledgerSubTypeId = it.lsSubtypeid |
| | | ledgerName = it.lsSubtypename |
| | |
| | | updateDate = it.lrSubmitdate |
| | | updateType = it.lrUpdatetype |
| | | fileType = it.lrEasubmitkind.toInt() |
| | | path1 = media?.get(0)?.mfPath1 |
| | | remark1 = media?.get(0)?.mfDescription1 |
| | | path2 = media?.get(0)?.mfPath2 |
| | | remark2 = media?.get(0)?.mfDescription2 |
| | | path1 = media?.mfPath1 |
| | | remark1 = media?.mfDescription1 |
| | | path2 = media?.mfPath2 |
| | | remark2 = media?.mfDescription2 |
| | | this.sceneType = if (it.lrExtension1 == null) SceneType.Restaurant.value else it.lrExtension1.toInt() |
| | | }) |
| | | } |