代码提交

This commit is contained in:
userName 2024-02-22 14:11:59 +08:00
parent 7c7474f857
commit 8c2208b9f3
2 changed files with 3 additions and 2 deletions

View File

@ -43,6 +43,7 @@ public class MesPlanRecordServiceImpl implements IMesPlanRecordService {
return baseMapper.selectVoOne(Wrappers.lambdaQuery(MesPlanRecord.class) return baseMapper.selectVoOne(Wrappers.lambdaQuery(MesPlanRecord.class)
.eq(MesPlanRecord::getDetailId, bo.getDetailId()) .eq(MesPlanRecord::getDetailId, bo.getDetailId())
.eq(MesPlanRecord::getRecordDate, bo.getRecordDate()) .eq(MesPlanRecord::getRecordDate, bo.getRecordDate())
.eq(MesPlanRecord::getFlag, bo.getFlag())
.last("limit 1")); .last("limit 1"));
} }

View File

@ -366,8 +366,8 @@ function resetQuery() {
const openDate = ref(false) const openDate = ref(false)
const formDate = ref({}) const formDate = ref({})
async function handleDate(column, row) { async function handleDate(column, row) {
console.log('handleDate', column.label, row.id) console.log('handleDate', column.label, row.id, row.flag)
const res = await queryByBo({ recordDate: column.label, detailId: row.id }) const res = await queryByBo({ recordDate: column.label, detailId: row.id, flag: row.flag })
console.log('res', res) console.log('res', res)
openDate.value = true openDate.value = true
if (res.data) { if (res.data) {