Explorar el Código

coding:药师审核

zhangqin hace 2 días
padre
commit
7eb965f753

+ 1 - 1
fs-doctor-app/src/main/java/com/fs/app/controller/PrescribeController.java

@@ -106,7 +106,7 @@ public class PrescribeController extends  AppBaseController {
                     new Page<Hospital580PrescriptionScrmEntity>(param.getPageNum(), param.getPageSize())
                     , new LambdaQueryWrapper<Hospital580PrescriptionScrmEntity>()
                             .eq(Hospital580PrescriptionScrmEntity::getAuditApothecaryId,param.getDoctorId())
-                            .eq(ObjectUtil.isNotEmpty(param.getStatus()),Hospital580PrescriptionScrmEntity::getAuditStatus,param.getStatus())
+                            .eq(ObjectUtil.isNotEmpty(param.getStatus()) && param.getStatus()==1,Hospital580PrescriptionScrmEntity::getAuditStatus,1)
                             .orderByDesc(Hospital580PrescriptionScrmEntity::getCreateTime)
             );
             List<FsPrescribeListDVO> list = page.getRecords().stream()