Compare commits

..

No commits in common. "3b9a372fb535cd61823bc6a2264d3f880d70e12e" and "37aa91392aff963b661cb4015cc26a0c81eaa5b9" have entirely different histories.

View File

@ -313,7 +313,7 @@ export class SurveySalesService {
*/ */
async updateSurvey(id: number, survey: SurveyRegistRequest, isTemporary: boolean, storeId: string, role: string) { async updateSurvey(id: number, survey: SurveyRegistRequest, isTemporary: boolean, storeId: string, role: string) {
const { detailInfo, ...basicInfo } = survey const { detailInfo, ...basicInfo } = survey
const newSrlNo = isTemporary ? '一時保存' : survey.srlNo === '一時保存' ? await this.getNewSrlNo(storeId, role) : survey.srlNo const newSrlNo = isTemporary ? survey.srlNo ?? '一時保存' : await this.getNewSrlNo(storeId, role)
// @ts-ignore // @ts-ignore
return (await prisma.SD_SURVEY_SALES_BASIC_INFO.update({ return (await prisma.SD_SURVEY_SALES_BASIC_INFO.update({