1.添加查询企业打印问题

2.修改查询app用户报错问题
This commit is contained in:
sh
2025-11-21 11:54:04 +08:00
parent 32bacfa02d
commit e1c15b1610
2 changed files with 2 additions and 1 deletions

View File

@@ -42,6 +42,7 @@ public class CompanyController extends BaseController
public TableDataInfo list(Company company)
{
if (RoleUtils.isCompanyAdmin()) {
System.out.println("企业社会信用代码============================="+RoleUtils.getCurrentUseridCard());
company.setCode(RoleUtils.getCurrentUseridCard());
}
startPage();

View File

@@ -40,7 +40,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="selectAppUserList" parameterType="AppUser" resultMap="AppUserResult">
<include refid="selectAppUserVo"/>
<where> del_flag = '0'
<if test="name != null and name != ''"> and name like concat('%', #{name}, '%')</if>
<if test="name != null and name != ''"> and name like concat('%', cast(#{name, jdbcType=VARCHAR} as varchar), '%')</if>
<if test="age != null and age != ''"> and age = #{age}</if>
<if test="sex != null and sex != ''"> and sex = #{sex}</if>
<if test="birthDate != null "> and birth_date = #{birthDate}</if>